Skip to content

Skeudenn / lib/library-structure / levelChoices

Function: levelChoices() ​

levelChoices(structure, index): LibraryLevel[]

Defined in: src/lib/library-structure.ts:14

The levels the select of position index (0-based) may offer, given the rest of structure: none past the first free position, letter and year only first, and no level used at another position.

Parameters ​

structure ​

readonly LibraryLevel[]

index ​

number

Returns ​

LibraryLevel[]