Function checkStringEncodedValueType

  • Checks string-encoded value type prefix for its validity, i.e. that it is actually of type POD_VALUE_STRING_TYPE_IDENTIFIER.

    Parameters

    • nameForErrorMessages: string

      the name of the value from which the type name is derived, used only for error messages.

    • typePrefix: string

      the type prefix to check

    Returns POD_VALUE_STRING_TYPE_IDENTIFIER

    the type prefix as the appropriate type

    Throws

    Error if the type prefix is invalid

Generated using TypeDoc