Module: sources/cores/typed-arrays/isUint8ClampedArray

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

Example

import { isUint8ClampedArray } from 'itee-validators'

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

Methods


<static> isNotUint8ClampedArray(data)

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

<static> isUint8ClampedArray(data)

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