1.0.4 • Published 4 years ago
extraarrayfunctions v1.0.4
Extra Array Functions
Extra Array Functions is a simple module that adds some utilities for arrays
Usage
- Array.middle() returns the middle of an array;
- Array.random() returns a random item in the array;
- Array.toObject() returns a object from the array;
- Array.toMap() returns a map from the array;