@mikuroxina/mini-fn
Preparing search index...
List
singleton
Function singleton
singleton
<
T
>
(
value
:
T
)
:
List
.
List
<
T
>
Creates a list with one specified element.
Type Parameters
T
Parameters
value
:
T
The element of list.
Returns
List
.
List
<
T
>
The list with one element.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Creates a list with one specified element.