Open this example in the interactive library
Source code
import { types } from "node:util";
console.log(types.isTypedArray(new Int16Array(2)));
Sample output
true

Open this example in the interactive library
import { types } from "node:util";
console.log(types.isTypedArray(new Int16Array(2)));
true