UNPKG

@stdlib/array

Version:
43 lines (36 loc) 803 B
{{alias}}( value ) Tests if an input value is a supported array data type. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating if an input value is a supported array data type. Examples -------- > var bool = {{alias}}( 'float32' ) true > bool = {{alias}}( 'float64' ) true > bool = {{alias}}( 'int16' ) true > bool = {{alias}}( 'int32' ) true > bool = {{alias}}( 'int8' ) true > bool = {{alias}}( 'uint16' ) true > bool = {{alias}}( 'uint32' ) true > bool = {{alias}}( 'uint8' ) true > bool = {{alias}}( 'uint8c' ) true > bool = {{alias}}( '' ) false > bool = {{alias}}( 'beep' ) false See Also --------