toggle menu
clikt
common
switch theme
search in API
clikt
/
com.github.ajalt.clikt.core
/
Context
/
findOrSetObject
find
Or
Set
Object
inline
fun
<
T
:
Any
>
findOrSetObject
(
defaultValue
:
(
)
->
T
)
:
T
Find the closest object of type
T
, setting
this.
obj
if one is not found.