Member Junction
    Preparing search index...
    • May tool be offered under roster? A null roster allows everything.

      == null deliberately, not === null: the package compiles with strictNullChecks: false, so the type does not stop a consumer handing us undefined, and an undefined roster must read as "no roster" rather than throw on .includes.

      Parameters

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

      Returns boolean