Ace API Reference
    Preparing search index...

    Function isAvailable

    • Checks if an Emmet command is available for the current editor context.

      Parameters

      • editor: Editor

        The current Ace editor instance

      • command: string

        The Emmet command to check availability for

      Returns boolean

      Whether the command is available in the current editor mode