Skip to main content

isFloat32Array

function isFloat32Array
Jump to headingisFloat32Array(object: unknown): object is Float32Array

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

util.types.isFloat32Array(new ArrayBuffer());  // Returns false
util.types.isFloat32Array(new Float32Array());  // Returns true
util.types.isFloat32Array(new Float64Array());  // Returns false

Parameters Jump to heading

Jump to headingobject: unknown

Return Type Jump to heading

object is Float32Array
Back to top