mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -8,20 +8,20 @@
|
||||
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
||||
* @example
|
||||
*
|
||||
* isObjectLike({});
|
||||
* isObjectLike({})
|
||||
* // => true
|
||||
*
|
||||
* isObjectLike([1, 2, 3]);
|
||||
* isObjectLike([1, 2, 3])
|
||||
* // => true
|
||||
*
|
||||
* isObjectLike(Function);
|
||||
* isObjectLike(Function)
|
||||
* // => false
|
||||
*
|
||||
* isObjectLike(null);
|
||||
* isObjectLike(null)
|
||||
* // => false
|
||||
*/
|
||||
function isObjectLike(value) {
|
||||
return value != null && typeof value == 'object';
|
||||
return value != null && typeof value == 'object'
|
||||
}
|
||||
|
||||
export default isObjectLike;
|
||||
export default isObjectLike
|
||||
|
||||
Reference in New Issue
Block a user