IFClite TypeScript API
    Preparing search index...

    Function suggestStorey

    • Propose a storey directly above or below storeyId. Below a storey that has one under it, the new storey splits the gap evenly; elsewhere it repeats the nearest known spacing. fallbackName names the storey when the neighbour's name carries no number to count on (localised by the caller).

      Parameters

      • inventory: StoreyInventory
      • storeyId: number
      • side: "above" | "below"
      • fallbackName: (index: number) => string

      Returns StoreySuggestion