Picks an option based on your current shadow rift ingress

  • Type Parameters

    • S

    Parameters

    • options: Switch<Ingress, S>

      An object keyed by shadow rift ingress; it must either contain all possible ingresses, or have a default parameter.

    • OptionalalternateSource: Ingress | ((...args: never[]) => Ingress)

      An optional alternate way of determining which Ingress to choose by.

    Returns S

    The option corresponding to your current shadow rift ingress.