Check if the given value complies with the given schema If not, throw invalidParamType error

  • Parameters

    • value: any
    • schema: "strictNullChecks must be true in tsconfig to use JSONSchemaType"
    • paramName: string
    • functionName: string
    • throwOnError: boolean = true

    Returns boolean

    true/false