toggle menu
OptiGUI
2.3.0-beta.5+1.20.5
jvm
switch theme
search in API
OptiGUI
/
opekope2.optigui.filter
/
ConditionalFilter
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
optional
Link copied to clipboard
fun
<
TInput
,
TResult
:
Any
>
optional
(
notPresentResult
:
TResult
?
,
filter
:
IFilter
<
TInput
,
TResult
>
)
:
ConditionalFilter
<
Optional
<
TInput
>
,
TResult
>
Creates a
ConditionalFilter
, which gets an
Optional
's value when passing to
filter
if
present
.