Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-arraybuffer-view/docs/types/index.d"

Index

Functions

Functions

Export assignment isArrayBufferView

  • isArrayBufferView(value: any): boolean
  • Tests if a value is an ArrayBuffer view.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating whether value is an ArrayBuffer view

    Example

    var Int8Array = require( `@stdlib/array/int8` );
    var bool = isArrayBufferView( new Int8Array() );
    // returns true

    Example

    var bool = isArrayBufferView( [] );
    // returns false