Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 674 Bytes

readme.md

File metadata and controls

36 lines (22 loc) · 674 Bytes

domain-glossary-geocode

test publish

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-geocode

use

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');