UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

27 lines (20 loc) 413 B
{{alias}}( value ) Tests if a value is an empty array. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating if a value is an empty array. Examples -------- > var bool = {{alias}}( [] ) true > bool = {{alias}}( [ 1, 2, 3 ] ) false > bool = {{alias}}( {} ) false See Also --------