Siler\Functional
namespace. It brings some function declarations that aids the work with another first-class and high-order PHP functions!identity()
always($value)
identity()
, but it always returns the given value.if_else(callable $cond) -> $then -> $else
partial(callable $callable, ...$partial)
callable
:match(array $matches)