Skip to content

INotationInspection

Defined in: src/core/INotationInspection.ts:4

Represents the notation inspection result object.

notation: string

Defined in: src/core/INotationInspection.ts:8

Notation that is inspected.


has: boolean

Defined in: src/core/INotationInspection.ts:14

Whether the source object has the given notation as a (leveled) enumerable property. If the property exists but has a value of undefined, this will still return true.


optional value?: unknown

Defined in: src/core/INotationInspection.ts:19

The value of the notated property. If the source object does not have the notation, the value will be undefined.


type: string

Defined in: src/core/INotationInspection.ts:24

he type of the notated property. If the source object does not have the notation, the type will be "undefined".


level: number

Defined in: src/core/INotationInspection.ts:28

Level index of the notated value.


lastNote: string

Defined in: src/core/INotationInspection.ts:33

Last note of the notation, if actually exists. For example, last note of 'a.b.c' is 'c'.


lastNoteNormalized: string | number

Defined in: src/core/INotationInspection.ts:39

Normalized representation of the last note of the notation, if actually exists. For example, last note of 'a.b[1] is '[1]' and will be normalized to number 1; which indicates an array index.


parentIsArray: boolean

Defined in: src/core/INotationInspection.ts:43

Whether the parent object of the notation path is an array.