cache
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
cache
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
.