github
Preparing search index...
The search index is not available
clide-js
clide-js
getOptionTypeFromValue
Function getOptionTypeFromValue
getOptionTypeFromValue
<
T
>
(
value
:
T
)
:
keyof
OptionPrimitiveTypeMap
Infer the option type from a value, defaulting to 'string'.
Type Parameters
T
Parameters
value
:
T
The value to infer the type from.
Returns
keyof
OptionPrimitiveTypeMap
An option type for the value.
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
github
clide-js
Loading...
Infer the option type from a value, defaulting to 'string'.