/**
* Type guard to know if a game implements the Undo feature.
*
* @param rules Rules of the game
* @returns true if rules implements {@link Undo}
*/exportfunctionhasUndo(rules) {
const test = rules;
returntypeof test.canUndo === 'function';
}
//# sourceMappingURL=Undo.js.map