@stdlib/assert
Version:
Standard assertion utilities.
28 lines (21 loc) • 507 B
Plain Text
{{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
--------