node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

fromarray

fromarray

The opposite of toarray

Build Status

Usage:

var fromarray = require('fromarray');

console.log(fromarray([]));       // undefined
console.log(fromarray(['test']);  // 'test'
console.log(fromarray([1,2,3]));  // [1,2,3]

Possibly useful when you have an array but want a scalar.

License

MIT