Creates an optional that resolves to a value returned by getInput if that value is not null or undefined, or resolves to empty otherwise.
getInput
null
undefined
Non-nullable input value type
Function that produces a value or null or undefined
An optional containing the value from getInput if it's not null or undefined, otherwise an empty optional.
Creates an optional that resolves to a value returned by
getInput
if that value is notnull
orundefined
, or resolves to empty otherwise.