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:
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 8 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- Find the module object for something that was require()d☆27Updated 2 years ago
- Object.keys shim☆45Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- 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
- Is this an ES6 Symbol value?☆19Updated 7 months ago
- WeakMap collection as specified in ECMAScript6☆30Updated 4 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Timeout HTTP/HTTPS requests☆51Updated 4 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 5 years ago
- Define a non-enumerable property on an object.☆21Updated 2 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
- ☆27Updated 4 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 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
- Get the command from a shebang☆24Updated 3 years ago
- Detect whether or not an object is a Typed Array☆21Updated last year
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 4 months ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- getpass for node.js☆17Updated 8 years ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆17Updated 3 years ago