Function

nerdamer.get

src/index.ts:785
nerdamer.get(setting: keyof SettingsType | "PRECISION"): string | number | boolean

Reads the current value of a shared parser setting. PRECISION mirrors the root setter's special handling and is read from the shared Rational/Decimal precision. Other settings delegate to the parser.

Parameters

NameTypeDescription
settingkeyof SettingsType | "PRECISION"Parser setting to read.

Returns

string | number | boolean — The setting's current value.