source: imaps-frontend/node_modules/lodash/_baseIsArrayBuffer.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 504 bytes
Line 
1var baseGetTag = require('./_baseGetTag'),
2 isObjectLike = require('./isObjectLike');
3
4var arrayBufferTag = '[object ArrayBuffer]';
5
6/**
7 * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
8 *
9 * @private
10 * @param {*} value The value to check.
11 * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
12 */
13function baseIsArrayBuffer(value) {
14 return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
15}
16
17module.exports = baseIsArrayBuffer;
Note: See TracBrowser for help on using the repository browser.