time-to-botec/js/node_modules/@stdlib/assert/is-truthy-array/docs/repl.txt

28 lines
507 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is an array-like object containing only truthy values.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether a value is an array-like object containing
only truthy values.
Examples
--------
> var bool = {{alias}}( [ {}, [] ] )
true
> bool = {{alias}}( [ null, '' ] )
false
> bool = {{alias}}( [] )
false
See Also
--------