Applies parsing only if input is not None.
value (T or None) – The input value to parse if not None.
parser (callable, of type T -> R) – The parser to use if the input is not None.
The result of applying the parser.
R or None