Export function to validate if a value is a unsigned int 16 array buffer
- License:
- Source:
Example
import { isUint16Array } from 'itee-validators' if( isUint16Array( value ) ) { //... } else { //... }
Methods
-
<static> isNotUint16Array(data)
-
Check if given data is not a unsigned int 16 array
Parameters:
Name Type Description data
* The data to check against the unsigned int 16 array type Returns:
true if data is not a unsigned int 16 array , false otherwise.- Type
- boolean
-
<static> isUint16Array(data)
-
Check if given data is a unsigned int 16 array
Parameters:
Name Type Description data
* The data to check against the unsigned int 16 array type Returns:
true if data is a unsigned int 16 array , false otherwise.- Type
- boolean