Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Fusonic
Linq
Linq
lastOrNull
Fusonic\Linq\Linq::lastOrNull PHP Метод
Документация по классу Linq
Показать файл
Открыть проект
lastOrNull()
публичный
Метод
Returns the last element that satisfies a condition or NULL if no such element is found.
public
lastOrNull
(
callable
$func
= null ) :
mixed
$func
callable
a func that returns boolean.
Результат
mixed
public function lastOrNull(callable $func = null) { return $this->getLast($func, false); }
Linq
__construct
aggregate
all
any
average
chunk
concat
contains
count
distinct
each
elementAt
elementAtOrNull
except
first
firstOrNull
from
getFirst
getIterator
getLast
getSelectIteratorOrInnerIterator
getSingle
getValueAt
getWhereIteratorOrInnerIterator
groupBy
intersect
last
lastOrNull
max
min
ofType
order
orderBy
orderByDescending
range
select
selectMany
single
singleOrNull
skip
sum
take
toArray
where