novx
Preparing search index...
core/src
oneOf
Function oneOf
oneOf
<
T
>
(
...
values
:
T
[]
)
:
OneOfType
<
T
>
Creates a validation type for a union of literal values Usage: oneOf('count', 'sum', 'avg')
Type Parameters
T
Parameters
...
values
:
T
[]
Returns
OneOfType
<
T
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
novx
Loading...
Creates a validation type for a union of literal values Usage: oneOf('count', 'sum', 'avg')