Package-level declarations

Functions

Link copied to clipboard
.ifpresent value:{Dynamic} mapping:{Lambda} -> Any

Maps value to the result of mapping.

Link copied to clipboard
.isnone value:{Dynamic} -> Boolean

Checks whether value represents a none value.

Link copied to clipboard
.none -> None
Link copied to clipboard
.otherwise value:{Dynamic} fallback:{Dynamic} -> Dynamic

Returns value if it is not none, fallback otherwise.

Link copied to clipboard
.takeif value:{Dynamic} condition:{Lambda} -> Any

Keeps value if condition is true, otherwise returns none.