utils-ts-js-lib
v1.0.3
Published
isArrayOfStrings to check if is of the kind string<br> ``` isArrayOfStrings(["s","t","r","i","n","g"]) //true ``` orderbyLongitude order for long <br> ``` orderbyLongitude([""message",hello"]) //["hello","message"] ``` takeOut remove un string of
Downloads
11
Readme
utlis js o ts
funcion
arry
isArrayOfStrings to check if is of the kind string
isArrayOfStrings(["s","t","r","i","n","g"]) //true
orderbyLongitude order for long
orderbyLongitude([""message",hello"]) //["hello","message"]
takeOut remove un string of the un arry of the string
takeOut([""message",hello","remove"],"remove") //["hello","message"]
getParams serch a params if to find return true opposite false
getParams(["message","hello","remove"],"message") //true
objetc
isPrimitive to check if is Primitive return false oposite false
isPrimitive("string") //true
isDate to check if is Date return true oposite false
isDate(new Date) //true
isArray to check is string retunr true oposite false
isArray([1,2,3]) //true
isObject to check if is Object return true oposite false deepObjectClone i don`t undestand equalityBetwenn to check if two objets is equali
equalityBetwenn({"hi":"hello"},{"hi":"hello "}) //true
combine combine two obj
combine({"hola":"saludo"},{"hola":"saludo"}) //[{"hi":"hello"},{"hi":"hello "}]
shallowObjectClone i dont undenstand
string
capitalLater to make first later in capital letter
capitalLater("hi") //Hi