otherwise

.otherwise value:{Dynamic} fallback:{Dynamic} -> Dynamic

Return

value if it is not none, fallback otherwise

Parameters

value

value to check

fallback

value to return if value is none

See also

Chaining

This function is designed to be chained with other function calls:
Dynamic::otherwise fallback:{Dynamic} -> Dynamic

Wiki page

None