Skip to main content
isFloat32Array - node__util--types.d.ts - Node documentation
function isFloat32Array

Usage in Deno

```typescript import { isFloat32Array } from "node:node__util--types.d.ts"; ```
isFloat32Array(object: unknown): object is Float32Array
Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance. ```js util.types.isFloat32Array(new ArrayBuffer()); // Returns false util.types.isFloat32Array(new Float32Array()); // Returns true util.types.isFloat32Array(new Float64Array()); // Returns false ```

Parameters

object: unknown

Return Type

object is Float32Array