helpers plugin
See live
1.0.18
1.0.18
Getting started
Installation
Prototypes
Array
first()
last()
findById()
findIndexById()
filterById()
compare()
Types
isBoolean()
isString()
isObject()
isArray()
isFunction()
isNumber()
Content
isNotEmptyObject()
isNotEmptyArray()
isNotEmptyString()
Getting started
Installation
Prototypes
Array
first()
last()
findById()
findIndexById()
filterById()
compare()
Types
isBoolean()
isString()
isObject()
isArray()
isFunction()
isNumber()
Content
isNotEmptyObject()
isNotEmptyArray()
isNotEmptyString()
compare()
Compares two arrays to see if they are equal in terms of length and content.
const
arr1 = [{
id
:
1
,
name
:
'Apple'
}]
const
arr2 = [{
id
:
1
}] arr1.
compare
(arr2)