MCPcopy Index your code
hub / github.com/codecombat/codecombat / countryNameToCode

Function countryNameToCode

app/core/utils.js:217–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217const countryNameToCode = country => __guard__(_.find(countries, { country: (country != null ? country.toLowerCase() : undefined) }), x1 => x1.countryCode)
218
219var titleize = s => // Turns things like 'dungeons-of-kithgard' into 'Dungeons of Kithgard'
220 _.string.titleize(_.string.humanize(s)).replace(

Callers

nothing calls this directly

Calls 1

__guard__Function · 0.70

Tested by

no test coverage detected