Preparing search index...
The search index is not available
Documentation
Documentation
@hackbg/fadroma
fadroma
assign
Function assign
assign
<
T
>
(
object
,
properties
?
,
allowed
)
:
void
Helper for assigning only allowed properties of value object:
safe, can't set unsupported properties
no need to state property name thrice
doesn't leave
undefined
s
Type Parameters
T
extends
{}
Parameters
object
:
T
properties
:
any
= {}
allowed
:
(
keyof
T
)
[]
|
Set
<
keyof
T
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Documentation
@fadroma/agent
@hackbg/fadroma
Generated using
TypeDoc
Helper for assigning only allowed properties of value object:
undefined
s