Sanity Library Reference Docs
    Preparing search index...
    • The current stage's ActivityEntry named activityName, or undefined when the open stage holds no such activity (including when activityName is itself undefined). Composes findOpenStageEntry with the by-name lookup that activity ops, editability, params, and the operation pre-flights all need — callers keep their own .status / .fields chain off the result.

      Parameters

      • host: { currentStage: string; stages: StageEntry[] }
      • activityName: string | undefined

      Returns ActivityEntry | undefined