inspect-js / is-callable
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
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆56Updated 5 months ago
- Is this an ES6 Symbol value?☆18Updated last month
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated last month
- Find the module object for something that was require()d☆26Updated last year
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 5 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 3 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 6 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated last month
- ES6 spec-compliant Function.prototype.name sham.☆11Updated 3 weeks ago
- fs read and write streams based on minipass☆21Updated 6 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Modern Buffer API polyfill without footguns☆26Updated 3 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆10Updated 4 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 7 years ago
- Timeout HTTP/HTTPS requests☆52Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆15Updated last month
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated 10 months ago
- Sink your streams.☆17Updated last year
- List of node.js builtin modules☆38Updated 9 months ago
- Define a non-enumerable property on an object.☆21Updated last year
- ES spec-compliant shim for String.prototype.padStart☆23Updated 9 months 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
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Updated 6 years ago