toggle menu
cache
common
switch theme
search in API
api
/
dev.kord.cache.api
/
count
count
inline suspend
fun
<
T
:
Any
>
DataCache
.
count
(
block
:
QueryBuilder
<
T
>
.
(
)
->
Unit
=
{}
)
:
Long
inline suspend
fun
<
T
:
Any
>
DataEntryCache
<
T
>
.
count
(
block
:
QueryBuilder
<
T
>
.
(
)
->
Unit
=
{}
)
:
Long
Returns the amount of values that match the
block
.