Type data checking on the fly.
Any
const myObject = {x:1, y:3}
const thisIs = is(myObject)
// expect(thisIs).toBe("Object")
Returns Boolean
isEqual
is like is
but have 2 parameter for compare 2 type and return Bolean.
Anything
AnyAnymore
Any
Returns Boolean
checking the property in your object.
const Person = {name: 'John Lennon', band: 'Beatles', genre: "rock n roll"}
has(Person,'name')
Returns Boolean
Compare 2 Object
Returns Bool This function for simple json object compare you can't compare specific JSON like NODE Or Dom Object in JSON-Data.
Get Unique value in array.
Returns Array new array
Get value of object by property name.
Returns Any value in object by property name