1.0.1 • Published 1 year ago
domain-glossary-geocode v1.0.1
domain-glossary-geocode
A glossary of intuitive, universally unambiguous geocode definitions and procedures.
purpose
enable static-type checks for geocodes
Geocode=AsOfGlossary<string, 'Geocode'>isGeocode
install
npm install domain-glossary-geocodeuse
Geocode
declare that a given variable is a geocode
const geocode: Geocode;assure that a given string is a geocode
const geocode: Geocode = isGeocode.assure('33127');