Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -9,21 +9,21 @@
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
* @example
*
* isObject({});
* isObject({})
* // => true
*
* isObject([1, 2, 3]);
* isObject([1, 2, 3])
* // => true
*
* isObject(Function);
* isObject(Function)
* // => true
*
* isObject(null);
* isObject(null)
* // => false
*/
function isObject(value) {
const type = typeof value;
return value != null && (type == 'object' || type == 'function');
const type = typeof value
return value != null && (type == 'object' || type == 'function')
}
export default isObject;
export default isObject