map.apps Bundle APIs 4.20.0
    Preparing search index...

    Path accessors are generated by the function returned from PropertyPath(...).

    interface PathAccessor {
        exists(): boolean;
        fix(
            fixCallback?: (
                last: any,
                parts: (string | symbol)[],
                i: number,
            ) => void,
        ): PathAccessor;
        get(): unknown;
        invalid: boolean;
        set(value: unknown): void;
    }
    Index

    Properties

    Methods

    Properties

    invalid: boolean

    Returns true if the path or the target are invalid.

    Methods

    • Returns true if the accessor's target has this property.

      Returns boolean

    • Attempt to fix the current path.

      Parameters

      • OptionalfixCallback: (last: any, parts: (string | symbol)[], i: number) => void

      Returns PathAccessor

    • Returns the value associated with this accessor.

      Returns unknown

    • Set the value associated with this accessor.

      Parameters

      • value: unknown

      Returns void