UNPKG

@stdlib/array

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