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

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

Function: permitLockedSystemForName()

permitLockedSystemForName(name): PermitLockedSystem | null

Defined in: src/astro/permit-locked-systems.ts:75

Find an individually permit-locked system by exact name.

Parameters

name

string

A system name in any casing, with optional surrounding whitespace.

Returns

PermitLockedSystem | null

The frozen catalogue record, or null when the name is not individually permit-locked. Region prefixes are not checked.

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** ⚠️