Module: sources/cores/typed-arrays/isInt8Array

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

Example

import { isInt8Array } from 'itee-validators'

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

Methods


<static> isInt8Array(data)

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

<static> isNotInt8Array(data)

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