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