UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

27 lines (20 loc) 447 B
{{alias}}( value ) Tests if a value is a Slice object. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether a value is a Slice object. Examples -------- > var bool = {{alias}}( new {{alias:@stdlib/slice/ctor}}( 10 ) ) true > bool = {{alias}}( 3.14 ) false > bool = {{alias}}( {} ) false See Also --------