Skip to main content

isSettingsSection

Whether a section belongs to the Settings sheet (Settings and Help) rather than the Map options sheet. A closed sheet (null) is not a settings one.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { isSettingsSection } from "@mapcairn/core";

function isSettingsSection(section: SheetSection | null): boolean;

Parameters​

  • section (SheetSection | null)

Returns​

boolean

See also​

Source: packages/core/src/surface/surface.ts:31