inspect-js / is-callableLinks
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
☆41Updated 2 years ago
Alternatives and similar repositories for is-callable
Users that are interested in is-callable are comparing it to the libraries listed below
Sorting:
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 10 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 7 months ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Updated 2 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last month
- Find the module object for something that was require()d☆27Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Is this an ES6 Symbol value?☆19Updated 10 months ago
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.☆31Updated 10 months ago
- Center-align the text in a string.☆23Updated 8 years ago
- Modern Buffer API polyfill without footguns☆26Updated 4 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆30Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Object.keys shim☆45Updated 6 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated 2 years ago
- Unpipe a stream from all destinations☆22Updated 4 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated last month
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Updated 7 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆21Updated 10 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- WeakMap collection as specified in ECMAScript6☆30Updated 4 years ago
- ☆27Updated 4 years ago
- Timeout HTTP/HTTPS requests☆51Updated last month