and_then


Description:

public virtual Result<G> and_then (owned Func<G> func)

Runs the function with the value if this result holds a value.

If this result holds or the function throws an exception, the returned result holds the exception.

Parameters:

func

a function called

Returns:

the result




2022 vala-language.org