Executes a function if the value is defined
The value to check
Function to execute if x is defined
Result of f(x) if x is defined, undefined otherwise
Executes a function if the value is defined