Package Exports
- cast-array
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cast-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cast-array 
Ensure a value is an array and wrap it if it is not an array
Install
$ npm install --save cast-array
Usage
var castArray = require('cast-array')
castArray('input')
//=> ['input']
castArray(['input'])
//=> ['input']
API
castArray(value)
-> array
value
Required
Type: array
/ any
A value to wrap in an array (unless it's already an array).
License
MIT © Ben Drucker