Skip to main content
types.isFloat64Array - util - Node documentation
function types.isFloat64Array

Usage in Deno

import { types } from "node:util";
isFloat64Array(object: unknown): object is Float64Array

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

util.types.isFloat64Array(new ArrayBuffer());  // Returns false
util.types.isFloat64Array(new Uint8Array());  // Returns false
util.types.isFloat64Array(new Float64Array());  // Returns true

Parameters

object: unknown

Return Type

object is Float64Array