object-component

Object utils.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
object-component
0.0.311 years ago12 years agoMinified + gzip package size for object-component in KB

Readme

object
Object keys / values / length.

Example

var is = require('is');
is.date(obj);

API

.keys(obj)

Return the keys for obj.

.values(obj)

Return the values for obj.

.length(obj)

Return the number of keys for obj.

.isEmpty(obj)

Check if obj is empty.

.merge(a, b)

Merge object b into a, returns a. Precedence is given to b.

License

MIT