@eagleoutice/flowr - v2.17.4
    Preparing search index...
    Relation: {
        empty<K, V>(this: void): Relation<K, V>;
        fromPairs<K, V>(
            this: void,
            pairs: Iterable<readonly [K, V]>,
        ): Relation<K, V>;
        monoid<K, V>(this: void): Monoid<Relation<K, V>>;
        name: "Relation";
        of<K, V>(
            this: void,
            keys: readonly K[],
            values: ReadonlySet<V>,
        ): Relation<K, V>;
        unionAll<K, V>(
            this: void,
            relations: readonly Relation<K, V>[],
        ): Relation<K, V>;
        withoutKeysOf<K, V>(
            this: void,
            relation: Relation<K, V>,
            other: Relation<K, unknown>,
        ): Relation<K, V>;
    }

    Helper functions for the Relation, which never change a given relation and share its sets, so do not change them either.

    Type Declaration

    values

    Relation.fromPairs([['x', 1], ['x', 2]]); // x relates to 1 and 2