Sanity Library Reference Docs
    Preparing search index...

    Function isSanityDefinedAction

    Indicates whether the action is a Sanity defined action or a custom action.

    The action to check.

    true if the action is a Sanity defined action, false otherwise.

    • Beta

      Parameters

      • action: DocumentActionDescription & { action?: SanityDefinedAction }

      Returns boolean