@stdlib/assert-has-tostringtag-support
Detect native Symbol.toStringTag support.
Found 443 results for stdutils
Detect native Symbol.toStringTag support.
Define (or modify) an object property.
Return the current working directory.
Detect native Float32Array support.
Detect native Buffer support.
Add a callback to the next tick queue.
Return the global object.
Define a non-enumerable read-only property.
Detect native Uint8Array support.
Return the prototype of a provided object.
Determine the name of a value's constructor.
Convert between POSIX and Windows paths.
Platform byte order.
Determine the specification defined classification of an object.
Create a regular expression from a regular expression string.
Determine a value's type.
Detect native Float64Array support.
Detect native Uint16Array support.
Function which does nothing.
Platform float word order.
Detect native Symbol support.
Escape a regular expression string or pattern.
Detect native Uint32Array support.
Read data from stdin.
Format an error message for production.
Return an array of an object's own enumerable property names.
Constant function.
Alias for eval global.
Detect native Int8Array support.
Return the first index at which a given element can be found.
Detect native Int32Array support.
Detect native Int16Array support.
Detect native Uint8ClampedArray support.
Detect native Symbol.iterator support.
Define a non-enumerable read-only accessor.
Copy or deep clone a value to an arbitrary depth.
Return an array of an object's own enumerable and non-enumerable property names.
Detect native generator function support.
Return a property descriptor for an object's own property.
Define a read-only property.
Detect native function name support.
Determine a function's name.
Define a non-enumerable read-write accessor.
Return a JSON representation of an error object.
Return an array of an object's own symbol properties.
Revive a JSON-serialized pseudorandom number generator (PRNG).
Return an array of an object's own enumerable property names and symbols.
Implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.
Detect native ArrayBuffer support.
Wrap `require` in a try/catch block.
Return a partial object copy excluding specified keys.
Return a partial object copy containing only specified keys.
Detect native DataView support.
Invert an object, such that keys become values and values become keys.
Detect native BigInt support.
Standard library error code database.
Generate a frequency table.
Group values according to an indicator function and return group counts.
Return an iterator's length.
Identity function.
Platform on which the current process is running.
Memoize a function.
Flatten an object.
Circular buffer.
Parse a string as JSON.
Absolute pathname of the executable which started the current Node.js process.
Define a read-only accessor.
Define a read-write 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.
Node version.
Linked list.
Return a filename extension.
Merge and extend objects.
Detect native Proxy function support.
Extract a property value from each element of an object array.
Create an iterator which invokes a function for each iterated value.
Return the numeric user identity of a calling process.
Number of CPUs.
Return the current user's home directory.
Detect `Object.defineProperty` support.
Unzip a zipped array (i.e., a nested array of tuples).
Invoke a function for each element in a collection and update the collection in-place.
Return a directory for user-specific configuration files.
Return an array of an object's own enumerable property values.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
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.
Create an iterator which appends additional values to the end of a provided iterator.
Return an array of an object's own and inherited enumerable property names and symbols.
Detect native class support.
Open a URL.
Return a function which formats an error message for production.
Return a directory name.
Create a function that invokes a provided function according to a predicate function.
Get/set the process mask.
Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
Create a fluent interface for chaining together iterator methods.
Detect native Set support.
Return the effective numeric group identity of a calling process.
Invert an object, such that keys become values and values become keys, according to a transform function.
Group values according to an indicator function and return group counts.
Fill an array-like object view from right to left with values returned from an iterator.
Function composition.
Function sequence.
Transform a function into a sequence of functions each accepting a single argument.
Invoke a function until a test condition is true.
Convert the first letter of each object key to uppercase.
Create an iterator which returns numbers incremented by one.
Test whether a collection contains `n` elements which pass a test implemented by a predicate function.
Detect native async/await support.
Detect globalThis support.
Create an iterator which returns a sequence of numbers according to a specified increment.
Invoke a function for each own enumerable property of an object.
Detect native Symbol.asyncIterator support.
Invoke a function for each element in a collection and update the collection in-place.
Create an iterator which iterates over the values of two or more iterators.
Return a JSON representation of a regular expression.
Detect native SharedArrayBuffer 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.
Platform byte order.
Node version.
Create an iterator which always returns the same value.
Create an iterator which returns unique values according to a hash function.
Return the nth iterated value.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Create an empty iterator.
Detect `Object.defineProperties` support.
First-in-first-out (FIFO) queue.
Apply a function to each element in an array and assign the result to an element in an output array.
Split values into two groups according to a predicate function.
Change the current working directory.
Create an iterator which filters the values of another iterator according to a predicate function.
Detect native arrow function support.
Return an array of an object's own and inherited enumerable property names.
Create an iterator which returns the intersection of two or more iterators.
Return the effective numeric user identity of a calling process.
Create an iterator which transforms iterated values from two or more iterators by applying the iterated values as arguments to a provided function.
Detect native BigUint64Array support.
Return a directory for user-specific configuration files.
Create an iterator which returns evenly spaced dates over a specified interval.
Invoke a function once for each element in a collection, iterating from right to left.
Detect native WeakMap support.
Compact adjacency matrix.
Create an iterator pipeline.
Invoke a function once for each element in a collection.
Return an array of an object's own enumerable property key-value pairs.
Test whether all iterated values are falsy.
Revive a JSON-serialized regular expression.
Get a nested property value.
Invoke a function for each grapheme cluster (i.e., user-perceived character) in a string.
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.
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.
Return an array of an object's inherited enumerable property names and symbols.
Detect `Object.defineProperties` support.
Return the first iterated value.
Create a function that invokes a provided function according to a predicate function.
Create an iterator which returns unique values.
Test whether at least `n` iterated values are truthy.
Return a property descriptor for an object's own or inherited property.
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.
Transform a curried function into a function invoked with multiple arguments.
Error tools.
Transform a curried function into a function invoked with multiple arguments.
Return an array of an object's own and inherited enumerable property values.
Return an array of an object's own and inherited symbol properties.
Split values into two groups according to a predicate function.
Group values according to an indicator function.
Test whether every iterated value passes a test implemented by a predicate function.
Revive a JSON-serialized error object.
Invoke a function for each Unicode code point in a string.
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`.
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.
Map values from one object to a new object having the same keys.
Convert the first letter of each object key to lowercase.
Return an array of an object's inherited non-enumerable property names.
Function composition.
Return the directory for storing temporary files.
Execute scripts in parallel.
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 generator function support.
Detect native function name support.
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 enumerable and non-enumerable property names and symbols.
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.
Platform float word order.
Invoke a function while a test condition is true.
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
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.
Detect native WeakMap support.
Detect native BigUint64Array 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.
Generate array tuples from input arrays.
Detect native WeakSet 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.
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.
Invoke a function until a test condition is true.
Detect native ArrayBuffer support.
Split values into two groups.
Create an iterator which, while a test condition is true, invokes a function for each iterated value before returning the iterated value.
Return an object's own property descriptors.
Apply a function to each nested element in a three-dimensional nested array and assign the result to a nested element in a new three-dimensional nested array.
Return an array of an object's own and inherited enumerable and non-enumerable property names.
Detect native Proxy function support.
Detect native Symbol.toStringTag support.
Generate a frequency table according to an indicator function.
Transform a function into a sequence of functions each accepting a single argument.
Detect native Int8Array support.
Array containing command-line arguments passed when launching the calling process.
Return an array of an object's own and inherited non-enumerable property names and symbols.
Convert between POSIX and Windows paths.
Return an array of an object's inherited property names and symbols.
Test whether all own properties of an object pass a test implemented by a predicate function.
Define a configurable write-only accessor.