Skip to main content

isUint8ClampedArray

function isUint8ClampedArray
Jump to headingisUint8ClampedArray(object: unknown): object is Uint8ClampedArray

Returns true if the value is a built-in Uint8ClampedArray instance.

util.types.isUint8ClampedArray(new ArrayBuffer());  // Returns false
util.types.isUint8ClampedArray(new Uint8ClampedArray());  // Returns true
util.types.isUint8ClampedArray(new Float64Array());  // Returns false

Parameters Jump to heading

Jump to headingobject: unknown

Return Type Jump to heading

object is Uint8ClampedArray
Back to top