Skip to content

mschultz4/ObjectLikeToArray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectLikeToArray

Convert object like arrays to arrays

Install

npm --save-dev olta

Use

const olta = require('olta');
var arrayLikeObject = {
  length: 4,
  '0': 'one',
  '1': 'two',
  '2': 'three',
  '3': 'four'
};

var realArray = olta(arrayLikeObject);
realArray.isArray() //true

About

Convert object like arrays to arrays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published