UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

30 lines (23 loc) 553 B
{{alias}}( value ) Tests if a value is an array-like object containing only functions. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether value is an array-like object containing only functions. Examples -------- > function beep() {}; > function boop() {}; > var bool = {{alias}}( [ beep, boop ] ) true > bool = {{alias}}( [ {}, beep ] ) false > bool = {{alias}}( [] ) false See Also --------