Skip to content

gi-nx


gi-nx / getScenarios

ts
function getScenarios(): Record<string, Scenario>;

Retrieves all scenarios for the current project.

getScenarios(): { [scenarioId: string]: Scenario }

Returns

Record<string, Scenario>

A record of Scenario objects keyed by their IDs.