Checks optional value against condition in predicate, if condition resolve to false, empty optional will be returned
value from optional
Evaluate callback function if optional is empty
true is value is absent
true is value is present
Transforms object
optional with mapped object
If value already known or computed use this method to return if optional is empty
value if optional is empty
If value needs to be computed better to use lazy getter return if optional is empty
value if optional is empty
Throws an error if optional is empty.
If value is not present, empty array will be returned, if value is single cardinality returns and array from one element, if value is an array returns an array.
value converted to an array
Generated using TypeDoc
Idea of this function is from Java Optional This function checks value to be non null or undefined.
https://pavel-surinin.github.io/declarativejs/#/?id=optional