UNPKG

@stdlib/array

Version:
46 lines (39 loc) 884 B
{{alias}}( value ) Tests if an input value is a supported array real-valued data type. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating if an input value is a supported array real-valued data type. Examples -------- > var bool = {{alias}}( 'float32' ) true > bool = {{alias}}( 'float64' ) true > bool = {{alias}}( 'complex128' ) false > 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 --------