else()
Transforms the bound value to the specified value, if the bound value is equal to false.
else<U>(falseValue: U): Binding<T | U>;
Summary
This method can be used to substitute the bound value with a value, if the bound value is equal to false according to the == operator.
Parameters
- falseValue — The value to use if the bound value is equal to false
Return value
A new binding, typed as the new value
Related
class Binding
A class that represents a property binding.
