IFClite TypeScript API
    Preparing search index...

    Function inClashSet

    • Whether one element belongs to a rule side, by membership when the side has an explicit member set and by type selector otherwise.

      Parameters

      • element: Pick<ClashElement, "model" | "ref" | "tag">
      • selector: string
      • members: ReadonlySet<string> | null

      Returns boolean