thenTake

inline fun <Result> Boolean.thenTake(block: () -> Result): Result?