@eagleoutice/flowr - v2.10.2
    Preparing search index...
    Identifier: {
        accessesInternal(this: void, id: Identifier): boolean | undefined;
        dotdotdot(this: void): BrandedIdentifier;
        getName(this: void, id: Identifier): BrandedIdentifier;
        getNamespace(this: void, id: Identifier): BrandedNamespace | undefined;
        is(this: void, id: unknown): id is Identifier;
        isDotDotDotAccess(this: void, id: Identifier): boolean;
        make(
            this: void,
            name: BrandedIdentifier,
            namespace?: BrandedNamespace,
            internal?: boolean,
        ): Identifier;
        mapName(
            this: void,
            id: Identifier,
            fn: (name: BrandedIdentifier) => BrandedIdentifier,
        ): Identifier;
        mapNamespace(
            this: void,
            id: Identifier,
            fn: (ns: BrandedNamespace) => BrandedNamespace,
        ): Identifier;
        matches(
            this: void,
            id: Identifier,
            target: Identifier,
            s3?: boolean,
        ): boolean;
        name: "Identifier";
        parse(this: void, str: string): Identifier;
        toArray(
            this: void,
            id: Identifier,
        ): [BrandedIdentifier, BrandedNamespace | undefined, boolean | undefined];
        toString(this: void, id: Identifier): string;
    }

    Helper functions to work with identifiers. Use Identifier.matches to check if two identifiers match according to R's scoping rules!

    Type Declaration

    const id1 = Identifier.make('a', 'pkg');
    const id2 = Identifier.parse('pkg::a');
    const id3 = Identifier.parse('a');
    Identifier.matches(id1, id2); // true
    Identifier.matches(id3, id2); // true, as id3 has no namespace