PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
bower-config
/
node_modules
/
mout
/
src
/
lang
define(['../object/forOwn', './isArray'], function (forOwn, isArray) { function isEmpty(val){ if (val == null) { // typeof null == 'object' so we check it first return true; } else if ( typeof val === 'string' || isArray(val) ) { return !val.length; } else if ( typeof val === 'object' ) { var result = true; forOwn(val, function(){ result = false; return false; // break loop }); return result; } else { return true; } } return isEmpty; });
[-] isBoolean.js
[edit]
[-] isInteger.js
[edit]
[-] isRegExp.js
[edit]
[-] ctorApply.js
[edit]
[-] toString.js
[edit]
[-] toArray.js
[edit]
[-] toNumber.js
[edit]
[-] is.js
[edit]
[+]
..
[-] inheritPrototype.js
[edit]
[-] GLOBAL.js
[edit]
[-] deepClone.js
[edit]
[-] isFinite.js
[edit]
[-] isObject.js
[edit]
[-] isUndefined.js
[edit]
[-] isDate.js
[edit]
[-] isPlainObject.js
[edit]
[-] isArguments.js
[edit]
[-] kindOf.js
[edit]
[-] isPrimitive.js
[edit]
[-] isString.js
[edit]
[-] isNull.js
[edit]
[-] isNumber.js
[edit]
[-] deepEquals.js
[edit]
[-] isNaN.js
[edit]
[-] isnt.js
[edit]
[-] isArray.js
[edit]
[-] isKind.js
[edit]
[-] isEmpty.js
[edit]
[-] defaults.js
[edit]
[-] createObject.js
[edit]
[-] isFunction.js
[edit]
[-] clone.js
[edit]