UNPKG

@stdlib/array

Version:
23 lines (16 loc) 318 B
{{alias}}( x ) Counts the number of falsy values in an array. Parameters ---------- x: ArrayLikeObject Input array. Returns ------- out: integer Number of falsy values. Examples -------- > var out = {{alias}}( [ 0, 1, 1 ] ) 1 See Also --------