Remove .gitignore and add dist and node_modules (LFS for .exe)
Made-with: Cursor
This commit is contained in:
1 parent
1fc4db96c8
commit
048ab8b980
5819 files changed
+1357436
-2
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
var toStr = Object.prototype.toString;
|
||||
|
||||
module.exports = function isArguments(value) {
|
||||
var str = toStr.call(value);
|
||||
var isArgs = str === '[object Arguments]';
|
||||
if (!isArgs) {
|
||||
isArgs = str !== '[object Array]' &&
|
||||
value !== null &&
|
||||
typeof value === 'object' &&
|
||||
typeof value.length === 'number' &&
|
||||
value.length >= 0 &&
|
||||
toStr.call(value.callee) === '[object Function]';
|
||||
}
|
||||
return isArgs;
|
||||
};
|
||||
Reference in new issue
Block a user