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

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 502 bytes
RevLine 
[d565449]1import baseGetTag from './_baseGetTag.js';
2import isObjectLike from './isObjectLike.js';
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
17export default baseIsArrayBuffer;
Note: See TracBrowser for help on using the repository browser.