FutureProg functions

ifnull

Null Handling · computer function, computer program, standard futureprog

CollectionItem ifnull(CollectionItem item, CollectionItem fallback)
Contexts: computer function, computer program, standard futureprog
This function accepts an item of a broad variety of types, and tests to see if it is currently null. If it is not null, it returns the item you supplied in the first parameter. If it is null, it returns the item specified in the second parameter.
item: The item that you want to test to see if it is null
fallback: The item you want to return if the first item is null

← Back to FutureProg functions