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