@stdlib/assert-has-function-name-support
Detect native function name support.
Found 443 results for stdutils
Detect native function name support.
Define a non-enumerable read-write accessor.
Determine a function's name.
Return a JSON representation of an error object.
Return an array of an object's own enumerable property names and symbols.
Return an array of an object's own symbol properties.
Revive a JSON-serialized pseudorandom number generator (PRNG).
Wrap `require` in a try/catch block.
Implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.
Detect native ArrayBuffer support.
Return a partial object copy excluding specified keys.
Detect native DataView support.
Invert an object, such that keys become values and values become keys.
Return a partial object copy containing only specified keys.
Detect native BigInt support.
Standard library error code database.
Return an iterator's length.
Generate a frequency table.
Group values according to an indicator function and return group counts.
Identity function.
Circular buffer.
Platform on which the current process is running.
Flatten an object.
Memoize a function.
Parse a string as JSON.
Absolute pathname of the executable which started the current Node.js process.
Define a read-write accessor.
Define a read-only accessor.
Define a non-enumerable property.
Detect native WebAssembly support.
Flatten an array.
Object containing the user environment.
Create a function that invokes a provided function with a specified number of arguments.
Consume an entire iterator and return the last iterated value.
Create an iterator which returns a subsequence of iterated values from a provided iterator.
Create an iterator which skips the last value of a provided iterator.
Group values as arrays associated with distinct keys.
Convert each object key to uppercase.
Create an iterator which returns evenly spaced numbers over a specified interval.
Linked list.
Node version.
Merge and extend objects.
Return a filename extension.
Create an iterator which invokes a function for each iterated value.
Detect native Proxy function support.
Return the numeric user identity of a calling process.
Extract a property value from each element of an object array.
Number of CPUs.
Invoke a function for each element in a collection and update the collection in-place.
Unzip a zipped array (i.e., a nested array of tuples).
Return a directory for user-specific configuration files.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Return an array of an object's own enumerable property values.
Create an iterator thunk.
Detect native Symbol.asyncIterator support.
Partially apply function arguments.
Return an array of an object's own and inherited property names and symbols.
Open a URL.
Return a function which formats an error message for production.
Return an array of an object's own and inherited enumerable property names and symbols.
Return the current user's home directory.
Create a function that invokes a provided function according to a predicate function.
Return a directory name.
Create a fluent interface for chaining together iterator methods.
Detect native Set support.
Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
Fill an array-like object view from right to left with values returned from an iterator.
Invert an object, such that keys become values and values become keys, according to a transform function.
Function sequence.
Transform a function into a sequence of functions each accepting a single argument.
Invoke a function until a test condition is true.
Function composition.
Group values according to an indicator function and return group counts.
Convert the first letter of each object key to uppercase.
Test whether a collection contains `n` elements which pass a test implemented by a predicate function.
Detect native async/await support.
Apply a function against an accumulator and each element in a collection and return the accumulated result.
Invoke a function n times and return an array of accumulated function return values.
Invoke a function while a test condition is true.
Invoke a function for each own enumerable property of an object.
First-in-first-out (FIFO) queue.
Detect native SharedArrayBuffer support.
Create an iterator which always returns the same value.
Get a nested property value.
Detect native class support.
Split values into two groups according to a predicate function.
Change the current working directory.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Create an empty iterator.
Apply a function to each element in an array and assign the result to an element in an output array.
Get/set the process mask.
Compact adjacency matrix.
Detect native arrow function support.
Return an array of an object's own and inherited enumerable property names.
Return the effective numeric user identity of a calling process.
Create an iterator which returns the intersection of two or more iterators.
Invoke a function once for each element in a collection, iterating from right to left.
Invoke a function once for each element in a collection.
Return an array of an object's own enumerable property key-value pairs.
Detect native WeakMap support.
Platform byte order.
Invoke a function for each grapheme cluster (i.e., user-perceived character) in a string.
Create an iterator pipeline.
Invoke a function for each UTF-16 code unit in a string.
Invoke a function for each element in a collection, iterating from right to left.
Node version.
Return the effective numeric group identity of a calling process.
Test whether at least `n` iterated values are truthy.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Create an iterator which returns evenly spaced numbers according to a specified increment.
Transform a curried function into a function invoked with multiple arguments.
Error tools.
Transform a curried function into a function invoked with multiple arguments.
Convert each object key to lowercase.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
Return an array of an object's own and inherited symbol properties.
Create an iterator which appends additional values to the end of a provided iterator.
Invoke a function for each element in a collection and update the collection in-place.
Return an array of an object's inherited enumerable property names and symbols.
Create an iterator which returns a sequence of numbers according to a specified increment.
Test whether at least one iterated value is truthy.
Create a function that applies arguments to a provided function after transforming arguments according to a callback function.
Detect native BigInt64Array support.
Invoke a function until a test condition is true.
Function composition.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Return the directory for storing temporary files.
If a function does not throw, return the function return value; otherwise, return `y`.
Convert the first letter of each object key to lowercase.
Return an array of an object's inherited non-enumerable property names.
Create an iterator which skips the first value of a provided iterator.
If a condition is truthy, return `x`; otherwise, return `y`.
Partially apply function arguments from the right.
Return an array of an object's own and inherited writable property names and symbols.
Return the numeric group identity of a calling process.
Reduce the number of dimensions by one of a two-dimensional nested array by applying a function against an accumulator and each element along the innermost dimension and returning the accumulation results as a one-dimensional array.
Detect native Map support.
Return the smallest positive normal value capable of being represented by a numeric real type.
Define a configurable read-write accessor.
Create an object from key-value pairs.
Create an iterator which removes consecutive values that resolve to the same value according to a provided function.
If a condition is truthy, invoke `x`; otherwise, invoke `y`.
Return an array of an object's own and inherited non-enumerable property names.
Detect native WebAssembly support.
Detect native function name support.
Return an array of an object's own enumerable and non-enumerable property names and symbols.
Create an iterator which returns numbers incremented by one.
Generate array tuples from input arrays.
Detect native WeakSet support.
Return the minimum value of a specified numeric type.
Return a partial object copy excluding properties for which a predicate (function) returns a truthy value.
Map keys from one object to a new object having the same values.
Create an iterator which invokes a function for each iterated value before returning the iterated value.
Add elements from one collection to the beginning of another collection.
Return the size (in bytes) of the canonical binary representation of a specified numeric type.
Split values into two groups.
Execute a set of functions in parallel.
Detect native BigUint64Array support.
Detect native SharedArrayBuffer support.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
Return the current user's home directory.
Detect native BigUint64Array support.
Map values from one object to a new object having the same keys.
Transform a function into a sequence of functions each accepting a single argument.
Detect native Int8Array support.
Return an object's own property descriptors.
Return a property descriptor for an object's own or inherited property.
Return an array of an object's own and inherited non-enumerable property names and symbols.
Convert between POSIX and Windows paths.
Detect native Symbol.toStringTag support.
Generate a frequency table according to an indicator function.
Array containing command-line arguments passed when launching the calling process.
Return an array of an object's inherited property names and symbols.
Return an array of an object's own and inherited enumerable property values.
Detect `Object.defineProperty` support.
Return the first iterated value.
Revive a JSON-serialized regular expression.
Test whether all own properties of an object pass a test implemented by a predicate function.
Define a configurable write-only accessor.
Return a JSON representation of a regular expression.
Named typed tuple.
While a test condition is true, invoke a function for each element in a collection.
Execute scripts in parallel.
Execute scripts in parallel.
Return an array of an object's own non-enumerable property names.
Apply a function to elements in two input arrays while iterating from right to left and assign the results to an output array.
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
Fill an array-like object view with values returned from an iterator.
Create a function that invokes a provided function with reordered arguments.
Create an iterator which returns the intersection of two or more iterators according to a hash function.
Apply a function against an accumulator and each element in an array and return the accumulated result.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Return the maximum safe integer capable of being represented by a numeric real type.
Test whether at least `n` iterated values pass a test implemented by a predicate function.
Invoke a function n times and return an array of accumulated function return values.
Detect globalThis support.
Return an array of an object's own enumerable property names which are not integer indices.
Doubly linked list.
Execute functions in series, passing the results of one function as arguments to the next function.
Create an iterator which removes consecutive duplicated values.
Apply a function to each nested element in a five-dimensional nested array and assign the result to a nested element in a new five-dimensional nested array.
Create an iterator which steps by a specified amount.
Return an array of an object's own and inherited enumerable property key-value pairs.
Return the maximum value of a specified numeric type.
Extract a nested property value from each element of an object array.
Detect native Int32Array support.
Return an array of an object's inherited enumerable symbol properties.
Return the directory for storing temporary files.
Test whether all iterated values are truthy.
Find elements in an array-like object that satisfy a test condition.
Operating system CPU architecture for which the JavaScript runtime binary was compiled.
Until a test condition is true, invoke a function for each element in a collection.
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
Detect native generator function support.
Return the nth iterated value.
Return an array of an object's own and inherited enumerable and non-enumerable property names.
Invoke a function for each Unicode code point in a string.
Return the minimum value of a specified numeric type.
Apply a function to each nested element in a four-dimensional nested array and assign the result to a nested element in a new four-dimensional nested array.
Detect `Object.defineProperty` support.
Create an iterator which returns the first `n` values of a provided iterator.
Test whether at least one element in a collection passes a test implemented by a predicate function.
Detect native Symbol support.
Open a URL.
Create an iterator which rejects the values of another iterator according to a predicate function.
Split an object's own and inherited property values into two groups according to a predicate function.
Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values, iterating from right to left.
Detect native WeakSet support.
Return an array of an object's inherited writable property names.
Platform on which the current process is running.
Generate a frequency table according to an indicator function.
Stack.
Create an iterator which steps according to a provided callback function.
Detect native Symbol.iterator support.
Operating system CPU architecture for which the JavaScript runtime binary was compiled.
Detect native Float32Array support.
Create a function that invokes a provided function with arguments in reverse order.
Apply a function against an accumulator and each element in an array while iterating from right to left and return the accumulated result.
Detect native ArrayBuffer support.
Split values into two groups according to a predicate function.
Group values according to an indicator function.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
Invoke a function while a test condition is true.
Create an iterator which cumulatively tests whether at least `n` iterated values are truthy.
Create an iterator which returns unique values according to a hash function.
Return an array of an object's own enumerable symbol properties.
Platform float word order.
Test whether all elements in a collection pass a test implemented by a predicate function.
Return a directory for user-specific configuration files.