Skip to content

Tankōbon / lib/library-structure / levelChoices

Function: levelChoices() ​

levelChoices(structure, index): LibraryLevel[]

Defined in: 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[]