Skip to content

setDifference beta ​

Function of @v12-engine/editor

ts
export declare function setDifference(before: Rules, after: Rules): {
    kind: DataKind;
    out: string[];
    in: {
        id: string;
    }[];
}[];

The ids a choice of a set takes out and puts in, of the definitions the editor has, by kind: what changes in the editor's registry as a set is chosen again. before and after are the rules made of the choices before and after