0.1.0 • Published 5 years ago
lamd_array v0.1.0
Lamed_Array (larray)
Useful JavaScript array methods not available in lodash.
Usage:
npm i larray -s
const _$ = require('larray');
Functions:
Functions | Description |
---|---|
Array.replaceAll(find, replace) | Replace all occurrences of a string in an array. |
Array.toLowerCase() | Change array elements to lower case. |
Array.toUpperCase() | Change array elements to upper case. |
String.includeAll(test) | Test if all argument items are included in String. If argument is array, the array items will be used. |
String.includeAny(test) | Test if any argument items are included in String. If argument is array, the array items will be used. |
String.replaceAll(find, replace) | Replace all occurrences of a string. |
notOk(value) | Return true if the value is not valid. (If value is undefined, '' or null -> then return true) |
Ok(value) | Return true if the value is valid. |
0.1.0
5 years ago