Check if the given value is the given type If not, throw invalidParamType error

  • Parameters

    • __namedParameters: {
          allowedTypes: any;
          functionName: string;
          paramName: string;
          throwOnError?: boolean;
          value: any;
      }
      • allowedTypes: any
      • functionName: string
      • paramName: string
      • OptionalthrowOnError?: boolean
      • value: any

    Returns boolean

    true/false