is-indexed
v0.0.1
Published
Predicate that returns true for "indexed" values.
Downloads
6
Readme
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