astro.Function.isPermitLockedRegionName - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / astro / isPermitLockedRegionName

Function: isPermitLockedRegionName()

isPermitLockedRegionName(name): boolean

Defined in: src/astro/permit-locked-regions.ts:46

Whether a region is permit-locked, by its exact name.

Parameters

name

string

A hand-authored region name in any casing, with optional surrounding whitespace.

Returns

boolean

true when the exact region is permit-locked. A system name inside the region does not count as an exact region-name match.

Throws

If name is present and not a string. A nullish name is a miss, answered the way an unrecognised one is.

⚠️ **GitHub.com Fallback** ⚠️