UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

25 lines (18 loc) 412 B
{{alias}}( value ) Tests if a value is a `ArrayBuffer` view. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether value is a `ArrayBuffer` view. Examples -------- > var bool = {{alias}}( new {{alias:@stdlib/array/int8}}() ) true > bool = {{alias}}( [] ) false See Also --------