Const
The global registry of Known Values.
This static instance provides access to all standard Known Values defined in the registry specification. It is lazily initialized on first access.
Most users should not need to interact with this directly, as the predefined Known Values are exposed as constants in the known_values module.
known_values
import { KNOWN_VALUES } from '@bcts/known-values';// Access the global storeconst knownValues = KNOWN_VALUES.get();// Look up a Known Value by nameconst isA = knownValues.knownValueNamed('isA');console.log(isA?.value()); // 1 Copy
import { KNOWN_VALUES } from '@bcts/known-values';// Access the global storeconst knownValues = KNOWN_VALUES.get();// Look up a Known Value by nameconst isA = knownValues.knownValueNamed('isA');console.log(isA?.value()); // 1
The global registry of Known Values.
This static instance provides access to all standard Known Values defined in the registry specification. It is lazily initialized on first access.
Most users should not need to interact with this directly, as the predefined Known Values are exposed as constants in the
known_valuesmodule.