validate-data-ats
v1.0.5
Published
validate the data
Downloads
1
Maintainers
Readme
check data
- isEmptyString (value:string) => boolean
it will check wether given string is empty or not, if it is empty it will return true else false
- isEmptyArray (value: any[]) => boolean
it will check wether given array is empty or not, if it is empty it will return true else false
- isNull (value: any) => boolean
it will check wether given value is null or not, if it is null it will return true else false
- isUndefined (value: any) => boolean
it will check wether value is undefiend or not, if it undefined it will return true else false
- isObjectContainsData (value:object) => boolean
it will check wether object contains propety or not, if property available it will return true else it will return false
- isDataExist (value: any) => any
we can any value like array, object, string it will check wether passing value contains data or not, if data not present it will return false, else it will return true