determineExtraType

Determines the type of extra based on the input string.

This function checks if the input string matches the format of any ExtraType. The format is expected to be "TYPE:..." where TYPE is the raw value of an ExtraType.

Return

The matching ExtraType if found, or null if the input is null, blank, or doesn't match any type.

Parameters

input

The string to be checked. Can be null.