isDataViewRaw
Returns true
if the value is a built-in DataView
instance.
const ab = new ArrayBuffer(20);
util.types.isDataView(new DataView(ab)); // Returns true
util.types.isDataView(new Float64Array()); // Returns false
Content copied to clipboard
See also ArrayBuffer.isView()
.
Since
v10.0.0