mirror of
https://github.com/arnaucube/raspberryGPIOhtmlserver.git
synced 2026-02-08 04:06:43 +01:00
servidor funciona, gpio desabilitat
This commit is contained in:
18
node_modules/object-keys/isArguments.js
generated
vendored
Executable file
18
node_modules/object-keys/isArguments.js
generated
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
"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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user