toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.kotlin
/
runUnless
run
Unless
inline
fun
<
T
,
R
>
T
.
runUnless
(
condition
:
Boolean
=
true
,
noinline
block
:
T
.
(
)
->
R
)
:
R
?
与上面的效果相反,条件达成则不执行,条件为否定时执行闭包