toggle menu
exkt
1.4.3
common
switch theme
search in API
exkt-dto
/
dev.d1s.exkt.dto
/
convertToDtoListIf
convert
To
Dto
List
If
suspend
fun
<
TEntity
:
Any
,
TDto
:
Any
>
DtoConverter
<
TEntity
,
TDto
>
.
convertToDtoListIf
(
entities
:
List
<
TEntity
>
,
predicate
:
(
)
->
Boolean
)
:
List
<
TDto
>
?
Converts given
entities
to
DTO list
if the given
predicate
matches. Returns
null
otherwise.