UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

28 lines (21 loc) 530 B
{{alias}}( value ) Tests if a value is an array-like object containing only objects. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether value is an array-like object containing only objects. Examples -------- > var bool = {{alias}}( [ {}, new Number(3.0) ] ) true > bool = {{alias}}( [ {}, { 'beep': 'boop' } ] ) true > bool = {{alias}}( [ {}, '3.0' ] ) false See Also --------