API Reference / normalizeHouseSystem · function

Function: normalizeHouseSystem()

function normalizeHouseSystem(raw): HouseSystem;

Resolve a forgiving house-system string (any case, spaces or hyphens, or a known alias) to a canonical HouseSystem, or throw listing the valid ids. Lets MCP, share links, and hand-written calls pass "whole sign", "Whole_Sign", "whole", etc. without tripping the strict union.

Parameters

ParameterType
rawstring

Returns

HouseSystem