UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

18 lines (14 loc) 504 B
var baseGetTag = require('./_baseGetTag'), isObjectLike = require('./isObjectLike'); var arrayBufferTag = '[object ArrayBuffer]'; /** * The base implementation of `_.isArrayBuffer` without Node.js optimizations. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. */ function baseIsArrayBuffer(value) { return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; } module.exports = baseIsArrayBuffer;