mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v3.0.0.
This commit is contained in:
15
internal/isObjectLike.js
Normal file
15
internal/isObjectLike.js
Normal file
@@ -0,0 +1,15 @@
|
||||
define([], function() {
|
||||
|
||||
/**
|
||||
* Checks if `value` is object-like.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
||||
*/
|
||||
function isObjectLike(value) {
|
||||
return (value && typeof value == 'object') || false;
|
||||
}
|
||||
|
||||
return isObjectLike;
|
||||
});
|
||||
Reference in New Issue
Block a user