_.isArrayBuffer

Checks if value is classified as an ArrayBuffer object.

  1. // Lodash
  2. _.isArrayBuffer(new ArrayBuffer(2));
  3. // output: true
  4.  
  5. // Native
  6. console.log(new ArrayBuffer(2) instanceof ArrayBuffer);
  7. // output: true

Browser Support for instanceof

ChromeEdgeFirefoxIEOperaSafari
1.0 ✔