VOOZH about

URL: https://www.geeksforgeeks.org/javascript/underscore-js-_-isarraybuffer-function/

⇱ Underscore.js _.isArrayBuffer() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Underscore.js _.isArrayBuffer() Function

Last Updated : 14 Oct, 2020

Underscore.js is a JavaScript library that provides a lot of useful functions that help in the programming in a big way like the map, filter, invoke, etc even without using any built-in objects.

The _.isArrayBuffer() function is an inbuilt function in Underscore.js library of JavaScript which is used to check  if the stated object is an ArrayBuffer or not.

Syntax:

_.isArrayBuffer(object)

Parameters: It accepts a single parameters which is specified below:

  • object: It is the object stated.

Return Value: This method returns true if the stated object is an ArrayBuffer else it returns false.

Example 1:

Output:

true

Example 2:

Comment