checkRules
Function of @v12-engine/engine
ts
export declare function checkRules(rules: Rules): RulesProblem[];Checks a game's rules against themselves (RulesProblem): run by a game's check() and as a page fetches its view, and in a game's tests (expect(checkRules(rules).filter((p) => p.level === 'error')).toEqual([])). Nothing is thrown