Member Junction
    Preparing search index...
    • Filter a tool list by the roster, preserving the LIST's order (never the roster's) and ignoring roster entries that name no tool, so a consumer cannot reorder the palette or conjure a button by misspelling.

      Type Parameters

      • T extends {
            Tool:
                | "sticky"
                | "shape"
                | "text"
                | "image"
                | "connector"
                | "markdown"
                | "html"
                | "select"
                | "pan"
                | "pen"
                | "eraser";
        }

      Parameters

      • entries: readonly T[]
      • roster: readonly (
            | "sticky"
            | "shape"
            | "text"
            | "image"
            | "connector"
            | "markdown"
            | "html"
            | "select"
            | "pan"
            | "pen"
            | "eraser"
        )[]

      Returns T[]