tome-web/client/game/cards/getCardKey.ts

6 lines
152 B
TypeScript
Raw Normal View History

2021-09-23 23:34:33 -04:00
import {CardKey} from './cards.ts'
export default function getCardKey(suit: string, value: string): CardKey {
return `${suit}_${value}` as CardKey
}