Skip to content

Tankōbon / shared/settings / isHomeSections

Function: isHomeSections() ​

isHomeSections(value): value is HomeSectionSetting[]

Defined in: shared/settings.ts:113

Whether value is a list of distinct, known HomeSections with a visible flag each, and optionally a whole count within the allowed range and a hideWhenEmpty flag. It may hold only some of them: resolveHomeSections() (renderer) appends the missing ones.

Parameters ​

value ​

unknown

Returns ​

value is HomeSectionSetting[]