code: function setCardCodes(set) {
    const codeSet = new Set()
    for (const v of set) codeSet.add(cardCode(v))
    return codeSet
  }
docs: Converts a set of cards to card codes.
  
  @name setCardCodes
  @function
  @param {Set.<String>} set card strings set, i.e. `Set({'Ah', 'Ks', 'Td', '3c, 'Ad'})`
  @return {Set.<Number>} card code set