phe.js
function setStringifyCardCodes(set) {
  const stringSet = new Set()
  for (const v of set) stringSet.add(stringifyCardCode(v))
  return stringSet
}
function setStringifyCardCodes(set) {
  const stringSet = new Set()
  for (const v of set) stringSet.add(stringifyCardCode(v))
  return stringSet
}
function setStringifyCardCodes ( set ) { const stringSet = new Set ( ) for ( const v of set ) stringSet . add ( stringifyCardCode ( v ) ) return stringSet }
Converts a set of card codes to their string representations.

@name setStringifyCardCodes
@function
@param {Set.<Number>} set card code set
@return {Set.<String>} set with string representations of the card codes,
i.e. `Set({'Ah', 'Ks', 'Td', '3c, 'Ad'})`
Converts a set of card codes to their string representations .