kernl API
    Preparing search index...

    Function startingChoices

    • The switches a person starts from. What was granted shows as on; with force, every required domain the shell can offer is on too, as when an applet is about to run.

      Parameters

      • input: GrantInput

        What the applet asks for.

      • state: GrantState

        What stands for it now.

      • force: boolean

        Switch the required domains on.

      Returns GrantChoices

      The starting choices.

      startingChoices({ requires: ['relay'], optional: [], baseline: [], available: ['relay'] }, { granted: [], unsafe: [] }, true).on; // Set { 'relay' }