• Parameters

    • parameterValue: any

      The parameter value.

    • parameterName: string

      The parameter name.

    • types: ("string" | "number" | "bigint" | "object" | "function" | "Array" | "Uint8Array" | "Buffer" | "stringified-bigint" | "hexadecimal" | "bignumber" | "bignumberish")[]

    Returns void

    Throws

    Throws a type error if the parameter value type is not part of the list of types.