Pebble App Framework: Phone API
    Preparing search index...

    Function planFor

    • The plan for a provider id, or undefined when there is none. Only the table's own entries count, so an id such as constructor finds nothing rather than something every object has.

      Parameters

      • plans: Record<string, QuotaPlan>

        The plans, by provider id.

      • provider: string

        The provider's id.

      Returns QuotaPlan | undefined

      Its plan, or undefined.