Skip to main content

isInt16Array

function isInt16Array
Jump to headingisInt16Array(object: unknown): object is Int16Array

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

util.types.isInt16Array(new ArrayBuffer());  // Returns false
util.types.isInt16Array(new Int16Array());  // Returns true
util.types.isInt16Array(new Float64Array());  // Returns false

Parameters Jump to heading

Jump to headingobject: unknown

Return Type Jump to heading

object is Int16Array
Back to top