INotationOptions
Defined in: src/core/INotationOptions.ts:4
Represents Notation options.
Properties
Section titled “Properties”strict?
Section titled “strict?”
optionalstrict?:boolean
Defined in: src/core/INotationOptions.ts:15
Whether to throw either when a notation path does not exist on the
source (i.e. #get() and #remove() methods); or notation path exists
but overwriting is disabled (i.e. #set() method). (Note that
.inspectGet() and .inspectRemove() methods are exceptions). It’s
recommended to set this to true and prevent silent failures if you’re
working with sensitive data. Regardless of strict option, it will
always throw on invalid notation syntax or other crucial failures.
Default
Section titled “Default”falsepreserveIndices?
Section titled “preserveIndices?”
optionalpreserveIndices?:boolean
Defined in: src/core/INotationOptions.ts:21
Whether to preserve indices when an item is REMOVED from an array source. This will produce sparse-arrays if enabled.
Default
Section titled “Default”false