time-to-botec/js/node_modules/@stdlib/utils/none/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

30 lines
725 B
Plaintext

{{alias}}( collection )
Tests whether all elements in a collection are falsy.
The function immediately returns upon encountering a truthy value.
If provided an empty collection, the function returns `true`.
Parameters
----------
collection: Array|TypedArray|Object
Input collection over which to iterate. If provided an object, the
object must be array-like (excluding strings and functions).
Returns
-------
bool: boolean
The function returns `true` if all elements are falsy; otherwise, the
function returns `false`.
Examples
--------
> var arr = [ 0, 0, 0, 0, 0 ];
> var bool = {{alias}}( arr )
true
See Also
--------