Sha256: 7212673936b2f6cf29b03fe2a8242240006625a43d73e47e1c48d1ebe6f376c4
Contents?: true
Size: 732 Bytes
Versions: 265
Compression:
Stored size: 732 Bytes
Contents
var baseIsArrayBuffer = require('./_baseIsArrayBuffer'), baseUnary = require('./_baseUnary'), nodeUtil = require('./_nodeUtil'); /* Node.js helper references. */ var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer; /** * Checks if `value` is classified as an `ArrayBuffer` object. * * @static * @memberOf _ * @since 4.3.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. * @example * * _.isArrayBuffer(new ArrayBuffer(2)); * // => true * * _.isArrayBuffer(new Array(2)); * // => false */ var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; module.exports = isArrayBuffer;
Version data entries
265 entries across 263 versions & 30 rubygems