Documentation

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

Return value

A new binding, typed as the new value

Related