Documentation
    Preparing search index...

    Function layerIndex

    • The bit index of the layer called name, or undefined if it has never been defined — the non-allocating counterpart of defineLayer.

      Use it to ask a question without answering it: a diagnostics panel listing the layers a document mentions must not create the ones it misspells.

      Parameters

      • name: string

      Returns number | undefined