Skip to content

isDataView

Determine whether the input value is a DataView.

Usage

ts
import { isDataView } from 'rattail'

isDataView(new DataView(new ArrayBuffer(1))) // return true

Arguments

ArgTypeDefaults
valueany

Return

Type
boolean