Preparing search index...
The search index is not available
neotype_prelude
neotype_prelude
fn
wrapCtor
Function wrapCtor
wrap
Ctor
<
TArgs
,
T
>
(
ctor
)
:
(
(
...
args
)
=>
T
)
Adapt a constructor into a callable function.
Type Parameters
TArgs
extends
unknown
[]
T
Parameters
ctor
:
(
new
(
...
args
)
=>
T
)
new
(
...
args
)
:
T
Parameters
Rest
...
args
:
TArgs
Returns
T
Returns
(
(
...
args
)
=>
T
)
(
...
args
)
:
T
Parameters
Rest
...
args
:
TArgs
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
neotype_prelude
builder
cmb
cmp
either
fn
ior
maybe
pair
validation
Generated using
TypeDoc
Adapt a constructor into a callable function.