Function checkPODValue

  • Check that PODValue object has a value which matches the specified type.

    Parameters

    • nameForErrorMessages: string

      the name of this value, which is used only for error messages (not checked for legality).

    • Optional podValue: PODValue

      the value to check

    Returns PODValue

    the unmodified value, for easy chaining

    Throws

    TypeError if the value is invalid

    Throws

    RangeError if the value is outside of the bounds

Generated using TypeDoc