Package Exports
- is-object-like-x
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-object-like-x) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-object-like-x
Determine if a value is object like.
Version: 1.5.0
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750
module.exports(value)
⇒ boolean
⏏
Checks if value
is object-like. A value is object-like if it's not a
primitive and not a function.
Kind: Exported function
Returns: boolean
- Returns true
if value
is object-like, else false
.
Param | Type | Description |
---|---|---|
value | * |
The value to check. |
Example
var isObjectLike = require('is-object-like-x');
isObjectLike({});
// => true
isObjectLike([1, 2, 3]);
// => true
isObjectLike(_.noop);
// => false
isObjectLike(null);
// => false