node package manager

is-indexed

is-indexed

Predicate that returns true for indexed values.

Install

npm install is-indexed
bower install is-indexed

Usage

var isIndexed = require('is-indexed');
 
console.log(isIndexed('')); // true 
console.log(isIndexed([])); // true 
console.log(isIndexed({})); // false 
console.log(isIndexed(null)); // false 
console.log(isIndexed(undefined)); // false 
console.log(isIndexed(1)); // false 
console.log((function() { return isIndexed(arguments); })()); // true 

License

MIT