Checks if the given value is a DataView (opens in a new tab) object.
Syntax
import { isDataView } from '@opentf/std';
isDataView(val: unknown): boolean;
Examples
const buffer = new ArrayBuffer(8);
isDataView(buffer) //=> false
isDataView(new Uint8Array(buffer)) //=> false
isDataView(new DataView(buffer)) //=> true