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