@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.
Detect native Uint8Array support.
Convert between POSIX and Windows paths.
Determine a value's type.
Determine the specification defined classification of an object.
Define a non-enumerable read-only property.
Determine the name of a value's constructor.
Return the prototype of a provided object.
Detect native Float64Array support.
Detect native Uint16Array support.
Function which does nothing.
Platform byte order.
Platform float word order.
Create a regular expression from a regular expression string.
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.
Alias for eval global.
Detect native Int8Array support.
Constant function.
Detect native Uint8ClampedArray support.
Return the first index at which a given element can be found.
Detect native Int32Array support.
Detect native Int16Array support.
Define a non-enumerable read-only accessor.
Copy or deep clone a value to an arbitrary depth.
Detect native Symbol.iterator support.
Detect native generator function support.
Define a read-only property.
Return an array of an object's own enumerable and non-enumerable property names.
Return a property descriptor for an object's own property.
Determine a function's name.
Detect native function name support.
Define a non-enumerable read-write accessor.
Return an array of an object's own symbol properties.
Revive a JSON-serialized pseudorandom number generator (PRNG).
Return a JSON representation of an error object.
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.
Return a partial object copy containing only specified keys.
Wrap `require` in a try/catch block.
Return a partial object copy excluding specified keys.
Invert an object, such that keys become values and values become keys.
Detect native DataView support.
Detect native BigInt support.
Standard library error code database.
Generate a frequency table.
Return an iterator's length.
Group values according to an indicator function and return group counts.
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.
Create an iterator which returns a subsequence of iterated values from a provided iterator.
Consume an entire iterator and return the last iterated value.
Create an iterator which skips the last value of a provided iterator.
Create an iterator which returns evenly spaced numbers over a specified interval.
Convert each object key to uppercase.
Return a filename extension.
Group values as arrays associated with distinct keys.
Node version.
Extract a property value from each element of an object array.
Return the numeric user identity of a calling process.
Unzip a zipped array (i.e., a nested array of tuples).
Merge and extend objects.
Create an iterator which invokes a function for each iterated value.
Number of CPUs.
Linked list.
Return a directory for user-specific configuration files.
Return an array of an object's own enumerable property values.
Return a directory name.
Detect native Proxy function support.
Create an iterator thunk.
Invoke a function for each element in a collection and update the collection in-place.
Return an array of an object's own and inherited enumerable property names and symbols.
Function composition.
Partially apply function arguments.
Detect native Set support.
Open a URL.
Return an array of an object's own and inherited property names and symbols.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Create an empty iterator.
Return a function which formats an error message for production.
Return the current user's home directory.
Transform a function into a sequence of functions each accepting a single argument.
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.
Create an iterator which always returns the same value.
Detect native WeakMap support.
Detect native Symbol.asyncIterator support.
Return the effective numeric user identity of a calling process.
Function sequence.
Return the minimum safe integer capable of being represented by a numeric real type.
Create a function that invokes a provided function according to a predicate function.
Convert the first letter of each object key to uppercase.
Group values according to an indicator function and return group counts.
Invert an object, such that keys become values and values become keys, according to a transform function.
Invoke a function until a test condition is true.
First-in-first-out (FIFO) queue.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Detect native async/await support.
Invoke a function for each own enumerable property of an object.
Invoke a function n times and return an array of accumulated function return values.
Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
Get a nested property value.
Invoke a function once for each element in a collection, iterating from right to left.
Test whether a collection contains `n` elements which pass a test implemented by a predicate function.
Return the smallest positive normal value capable of being represented by a numeric real type.
Detect native class support.
Create an iterator pipeline.
Compact adjacency matrix.
Get/set the process mask.
Create an iterator which returns the intersection of two or more iterators.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Platform byte order.
Return an array of an object's own and inherited enumerable property names.
Return an array of an object's own enumerable property key-value pairs.
Return the numeric group identity of a calling process.
Create an iterator which returns evenly spaced numbers according to a specified increment.
Create a fluent interface for chaining together iterator methods.
Return an array of an object's inherited writable property names.
Return the directory for storing temporary files.
Return the effective numeric group identity of a calling process.
If a condition is truthy, invoke `x`; otherwise, invoke `y`.
Detect native BigInt64Array support.
Create an iterator which invokes a function for each iterated value before returning the iterated value.
Return an array of an object's own and inherited non-enumerable property names.
Transform a curried function into a function invoked with multiple arguments.
Node version.
Apply a function to each element in an array and assign the result to an element in an output array.
Fill an array-like object view from right to left with values returned from an iterator.
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.
Detect native WeakSet support.
Transform a curried function into a function invoked with multiple arguments.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
Detect native SharedArrayBuffer support.
Return the maximum value of a specified numeric type.
Test whether at least one iterated value is truthy.
Map keys from one object to a new object having the same values.
Invoke a function while a test condition is true.
Convert the first letter of each object key to lowercase.
Apply a function to elements in two input arrays and assign the results to an output array.
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.
Detect native Map support.
Invoke a function for each element in a collection, iterating from right to left.
Invoke a function until a test condition is true.
Split an object's own and inherited property values into two groups according to a predicate function.
If a condition is truthy, return `x`; otherwise, return `y`.
Error tools.
Return an array of an object's inherited property names and symbols.
Return the size (in bytes) of the canonical binary representation of a specified numeric type.
Define a configurable read-write accessor.
Extract a nested property value from each element of an object array.
Return the minimum value of a specified numeric type.
Create an iterator which removes consecutive duplicated values.
Transform a function into a sequence of functions each accepting a single argument.
Detect native Int8Array support.
Invoke a function for each grapheme cluster (i.e., user-perceived character) in a string.
Test whether at least `n` iterated values are truthy.
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.
Return an array of an object's inherited non-enumerable property names.
Detect native Map support.
Create an iterator which returns numbers incremented by one.
Set a nested property value.
Split values into two groups.
Execute a set of functions in parallel.
Detect native BigUint64Array support.
Invoke a function once for each element in a collection.
Create an iterator which returns the first `n` values of a provided iterator.
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.
While a test condition is true, invoke a function for each element in a collection.
Generate array tuples from input arrays.
Partially apply function arguments from the right.
Detect native BigUint64Array support.
Map values from one object to a new object having the same keys.
Convert between POSIX and Windows paths.
Return a property descriptor for an object's own or inherited property.
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.
Detect native WebAssembly support.
Add elements from one collection to the beginning of another collection.
Invoke a function for each element in a collection.
Return an object's own property descriptors.
Fill an array-like object view with values returned from an iterator.
Return an array of an object's own and inherited writable symbol properties.
Return a partial object copy excluding properties for which a predicate (function) returns a truthy value.
Named typed tuple.
Return an array of an object's own and inherited enumerable property key-value pairs.
Stack.
Return an array of an object's own enumerable and non-enumerable 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.
Return a JSON representation of a regular expression.
Return an array of an object's own and inherited non-enumerable property names and symbols.
Invoke a function for each UTF-16 code unit in a string.
Function composition.
Execute scripts in parallel.
Execute scripts in parallel.
Detect globalThis support.
Convert each object key to lowercase.
Return an array of an object's own and inherited writable property names and symbols.
Test whether at least one element in a collection passes a test implemented by 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.
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
Create an iterator which iteratively returns the number of iterated values.
Create an iterator which steps by a specified amount.
Apply a function against an accumulator and each element in an array and return the accumulated result.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Create an iterator which replaces all values from a provided iterator from a start index to an end index with a static value.
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.
Return the directory for storing temporary files.
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`.
Test whether at least `n` iterated values pass a test implemented by a predicate function.
Return the maximum safe integer capable of being represented by a numeric real type.
Create an iterator which removes consecutive values that resolve to the same value according to a provided function.
Return an array of an object's inherited enumerable symbol properties.
Detect native Symbol support.
Open a URL.
Create an iterator which rejects the values of another iterator according to a predicate function.
Detect globalThis support.