Preparing search index...
The search index is not available
type-plus - v8.0.0-beta.7
type-plus
literalArray
Function literalArray
literalArray
<
T
extends
string
|
number
|
symbol
>
(
...
entries
:
T
[]
)
:
T
[]
🦴
utilities
return an array whose items are restricted to the provided literals.
Type Parameters
T
extends
string
|
number
|
symbol
Parameters
...
entries
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.7
Loading...
🦴 utilities
return an array whose items are restricted to the provided literals.