Méthode | Description | |
---|---|---|
count ( ) | ||
filter ( callable $f ) | ||
fromMaybeFalse ( $value ) | ||
fromMaybeNull ( $value ) | ||
fromPredicate ( callable $f, $value ) | ||
getIterator ( ) | ||
map ( callable $f ) | ||
match ( callable $ifSome, callable $ifNone ) | ||
none ( ) | ||
some ( $thing ) |
Méthode | Description | |
---|---|---|
__construct ( $has_value, $value ) |
public static fromPredicate ( callable $f, $value ) | ||
$f | callable |