or_else


Description:

public G or_else (G other)

If a value is present, returns the value, otherwise returns the given other.

Parameters:

other

other value that will be returned if no value is present

Returns:

the value if present, otherwise the given other.




2022 vala-language.org