Sha256: 361b77b55d066ab89b51a4e99a3f254c094f9a2aa6a5c597076bff552a6fcf28
Contents?: true
Size: 452 Bytes
Versions: 88
Compression:
Stored size: 452 Bytes
Contents
"use strict"; var toString = Object.prototype.toString; module.exports = function isArguments(value) { var str = toString.call(value); var isArguments = str === '[object Arguments]'; if (!isArguments) { isArguments = str !== '[object Array]' && value !== null && typeof value === 'object' && typeof value.length === 'number' && value.length >= 0 && toString.call(value.callee) === '[object Function]'; } return isArguments; };
Version data entries
88 entries across 88 versions & 2 rubygems