lamd_array

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i lamd_array

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

10.9 kB

Total Files

5

Last publish

Collaborators

  • perezlamed