mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(util) type: add null, mv back object
This commit is contained in:
parent
8b7f93cc69
commit
0cf714bf59
1 changed files with 2 additions and 2 deletions
|
|
@ -404,12 +404,12 @@
|
|||
return typeof variable === name;
|
||||
}
|
||||
|
||||
['arrayBuffer', 'file', 'array']
|
||||
['null', 'arrayBuffer', 'file', 'array', 'object']
|
||||
.forEach(function(name) {
|
||||
type[name] = typeOf.bind(null, name);
|
||||
});
|
||||
|
||||
['string', 'undefined', 'boolean', 'number', 'function', 'object']
|
||||
['string', 'undefined', 'boolean', 'number', 'function']
|
||||
.forEach(function(name) {
|
||||
type[name] = typeOfSimple.bind(null, name);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue