How to use the @esfx/collection-core.ReadonlyKeyedCollection.get function in @esfx/collection-core

To help you get started, we’ve selected a few @esfx/collection-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github esfx / esfx / packages / collection-core-shim / src / __tests__ / global.ts View on Github external
it("get", () => {
            expect(new Map([["a", 1]])[ReadonlyKeyedCollection.get]("a")).toBe(1);
            expect(new Map([["a", 1]])[ReadonlyKeyedCollection.get]("b")).toBe(undefined);
        });
        it("keys", () => {
github esfx / esfx / packages / collection-core-shim / src / __tests__ / global.ts View on Github external
it("get", () => {
            expect(new Map([["a", 1]])[ReadonlyKeyedCollection.get]("a")).toBe(1);
            expect(new Map([["a", 1]])[ReadonlyKeyedCollection.get]("b")).toBe(undefined);
        });
        it("keys", () => {