Module: sources/cores/typed-arrays/isInt16Array

Export function to validate if a value is a int 16 array buffer
Author:
License:
Source:

Example

import { isInt16Array } from 'itee-validators'

if( isInt16Array( value ) ) {
    //...
} else {
    //...
}

Methods


<static> isInt16Array(data)

Check if given data is a int 16 array
Parameters:
Name Type Description
data * The data to check against the int 16 array type
Source:
Returns:
true if data is a int 16 array , false otherwise.
Type
boolean

<static> isNotInt16Array(data)

Check if given data is not a int 16 array
Parameters:
Name Type Description
data * The data to check against the int 16 array type
Source:
Returns:
true if data is not a int 16 array , false otherwise.
Type
boolean