Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
canAssign
Function canAssign
can
Assign
<
T
>
(
canAssign
)
:
(
<
S
>
(
subject
:
NotExtendable
<
S
,
T
>
)
=>
true
)
Type Parameters
T
Parameters
canAssign
:
false
Returns
(
<
S
>
(
subject
:
NotExtendable
<
S
,
T
>
)
=>
true
)
<
S
>
(
subject
)
:
true
Type Parameters
S
Parameters
subject
:
NotExtendable
<
S
,
T
>
Returns
true
can
Assign
<
T
>
(
)
:
(
<
S
>
(
subject
:
S
)
=>
CanAssign
<
S
,
T
>
)
Type Parameters
T
Returns
(
<
S
>
(
subject
:
S
)
=>
CanAssign
<
S
,
T
>
)
<
S
>
(
subject
)
:
CanAssign
<
S
,
T
>
Type Parameters
S
extends
T
Parameters
subject
:
S
Returns
CanAssign
<
S
,
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...