- checkSchema(value, schema, paramName, functionName, throwOnError?): boolean
Parameters
- value: any
- schema: "strictNullChecks must be true in tsconfig to use JSONSchemaType"
- paramName: string
- functionName: string
- throwOnError: boolean = true
Returns boolean
true/false
Check if the given value complies with the given schema If not, throw
invalidParamType
error