Methods
Private
innerValidate
- innerValidate(value, type, prop?): boolean
-
Parameters
-
value: any
-
type: "num" | "str" | "bol" | "obj" | "arr"
-
Optional
prop: string
Returns boolean
Private
objHasProperty
- objHasProperty(obj, path): boolean
-
Returns boolean
validate
- validate(): Promise<boolean>
-
Returns Promise<boolean>
Private
validateArray
- validateArray(param): boolean
-
Returns boolean
Private
validateBoolean
- validateBoolean(param): boolean
-
Returns boolean
Private
validateNumber
- validateNumber(param): boolean
-
Returns boolean
Private
validateText
- validateText(param): boolean
-
Returns boolean