Function: getPreset()
ts
function getPreset(name): Preset | undefined;Defined in: src/games/presets.ts:113
A preset by its id, its name or any of its other names: getPreset("yahtzee") and getPreset("Yacht") are the same game. Undefined when there is none.
Parameters
name
string
Returns
Preset | undefined