src/SellerLabs/Nucleus/Support/Std.php
public static function firstBias($biased, $one, $other)
    {
        Arguments::define(Boa::boolean(), Boa::any(), Boa::any())
            ->check($biased, $one, $other);

        if ($biased) {
            return static::thunk($one);
        }

        return static::thunk($other);
    }
public static function firstBias($biased, $one, $other)
    {
        Arguments::define(Boa::boolean(), Boa::any(), Boa::any())
            ->check($biased, $one, $other);

        if ($biased) {
            return static::thunk($one);
        }

        return static::thunk($other);
    }
public static function firstBias ( $ biased , $ one , $ other ) { Arguments :: define ( Boa :: boolean ( ) , Boa :: any ( ) , Boa :: any ( ) ) -> check ( $ biased , $ one , $ other ) ; if ( $ biased ) { return static :: thunk ( $ one ) ; } return static :: thunk ( $ other ) ; }
Return the first value if the condition is true, otherwise, return the
second.

@param bool $biased
@param mixed|Closure $one
@param mixed|Closure $other

@return mixed
Return the first value if the condition is true otherwise return the second .