fromarray

0.1.0 • Public • Published

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

/fromarray/

    Package Sidebar

    Install

    npm i fromarray

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • deathcap