Preparing search index...
The search index is not available
Doubter - v4.0.3-next.6b58091
Doubter
core
ObjectKeysMode
Type alias ObjectKeysMode
Object
Keys
Mode
:
"preserved"
|
"stripped"
|
"exact"
Defines how unknown object keys are handled.
If
preserved
then unknown object keys are preserved as-is or checked with
ObjectShape.restShape
.
If
stripped
then the input object is cloned and unknown keys are removed from it.
If
exact
then an issue is raised if an unknown key is met.
See
ObjectShape.keysMode
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Doubter - v4.0.3-next.6b58091
Loading...
Defines how unknown object keys are handled.
preserved
then unknown object keys are preserved as-is or checked with ObjectShape.restShape.stripped
then the input object is cloned and unknown keys are removed from it.exact
then an issue is raised if an unknown key is met.