UNPKG

@stdlib/array

Version:
29 lines (22 loc) 511 B
{{alias}}( value ) Tests if an input value is a supported array byte order. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating if an input value is a supported array byte order. Examples -------- > var bool = {{alias}}( 'little-endian' ) true > bool = {{alias}}( 'big-endian' ) true > bool = {{alias}}( '' ) false > bool = {{alias}}( 'beep' ) false See Also --------