Preparing search index...
The search index is not available
Doubter - v4.0.3
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
core
plugin/array-essentials
plugin/bigint-essentials
plugin/date-essentials
plugin/number-essentials
plugin/object-essentials
plugin/set-essentials
plugin/string-essentials
utils
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.