Lamed_Array (larray)
Useful JavaScript array methods not available in lodash.
Usage:
npm i larray -s
const larray = require('larray');
Functions:
Functions | Description |
---|---|
Array.replaceAll() | 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 if all argument items are included in String. If argument is array, the array items will be used. |
String.includeAny() | Test if any argument items are included in String. If argument is array, the array items will be used. |
String.replaceAll() | Replace all occurrences of a string. |