-
Notifications
You must be signed in to change notification settings - Fork 0
/
phone-number.db.html
52 lines (52 loc) · 36.1 KB
/
phone-number.db.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>phone-number.db documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script><link rel="stylesheet" type="text/css" href="css/randomseed.css" /></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Phone-number</span> <span class="project-version">8.13.6-3</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="10_introduction.html"><div class="inner"><span>Introduction</span></div></a></li><li class="depth-1 "><a href="30_specs.html"><div class="inner"><span>Specs and checks</span></div></a></li><li class="depth-1 "><a href="40_development.html"><div class="inner"><span>Development</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><a href="phone-number.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>phone-number</span></div></a></li><li class="depth-2 branch"><a href="phone-number.calling-code.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>calling-code</span></div></a></li><li class="depth-2 branch"><a href="phone-number.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2 branch"><a href="phone-number.cost.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cost</span></div></a></li><li class="depth-2 branch"><a href="phone-number.country-code.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>country-code</span></div></a></li><li class="depth-2 branch current"><a href="phone-number.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-2 branch"><a href="phone-number.format.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>format</span></div></a></li><li class="depth-2 branch"><a href="phone-number.leniency.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>leniency</span></div></a></li><li class="depth-2 branch"><a href="phone-number.locale.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>locale</span></div></a></li><li class="depth-2 branch"><a href="phone-number.match.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>match</span></div></a></li><li class="depth-2 branch"><a href="phone-number.net-code.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>net-code</span></div></a></li><li class="depth-2 branch"><a href="phone-number.region.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>region</span></div></a></li><li class="depth-2 branch"><a href="phone-number.type.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>type</span></div></a></li><li class="depth-2 branch"><a href="phone-number.tz-format.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>tz-format</span></div></a></li><li class="depth-2"><a href="phone-number.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-region"><div class="inner"><span>calling-code-to-region</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-region-arg"><div class="inner"><span>calling-code-to-region-arg</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-regions"><div class="inner"><span>calling-code-to-regions</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-regions-arg"><div class="inner"><span>calling-code-to-regions-arg</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-regions-arg-vec"><div class="inner"><span>calling-code-to-regions-arg-vec</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-regions-vec"><div class="inner"><span>calling-code-to-regions-vec</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-types"><div class="inner"><span>calling-code-to-types</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-code-to-types-vec"><div class="inner"><span>calling-code-to-types-vec</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-codes"><div class="inner"><span>calling-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-calling-codes-args"><div class="inner"><span>calling-codes-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-costs"><div class="inner"><span>costs</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-costs-args"><div class="inner"><span>costs-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-country-codes"><div class="inner"><span>country-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-country-codes-args"><div class="inner"><span>country-codes-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-formats"><div class="inner"><span>formats</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-formats-args"><div class="inner"><span>formats-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-region-arg-for-calling-code"><div class="inner"><span>generate-region-arg-for-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-region-for-calling-code"><div class="inner"><span>generate-region-for-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-type-arg-for-calling-code"><div class="inner"><span>generate-type-arg-for-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-type-arg-for-region"><div class="inner"><span>generate-type-arg-for-region</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-type-for-calling-code"><div class="inner"><span>generate-type-for-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-type-for-region"><div class="inner"><span>generate-type-for-region</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-generate-type-for-region-arg"><div class="inner"><span>generate-type-for-region-arg</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-leniencies"><div class="inner"><span>leniencies</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-leniencies-args"><div class="inner"><span>leniencies-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-locales"><div class="inner"><span>locales</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-locales-args"><div class="inner"><span>locales-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-match-types"><div class="inner"><span>match-types</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-match-types-args"><div class="inner"><span>match-types-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-net-codes"><div class="inner"><span>net-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-net-codes-args"><div class="inner"><span>net-codes-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-arg-to-calling-code"><div class="inner"><span>region-arg-to-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-arg-to-calling-codes"><div class="inner"><span>region-arg-to-calling-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-arg-to-types"><div class="inner"><span>region-arg-to-types</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-arg-to-types-vec"><div class="inner"><span>region-arg-to-types-vec</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-to-calling-code"><div class="inner"><span>region-to-calling-code</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-to-calling-codes"><div class="inner"><span>region-to-calling-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-to-types"><div class="inner"><span>region-to-types</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-region-to-types-vec"><div class="inner"><span>region-to-types-vec</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-regions"><div class="inner"><span>regions</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-regions-args"><div class="inner"><span>regions-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-type-to-calling-codes"><div class="inner"><span>type-to-calling-codes</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-type-to-regions"><div class="inner"><span>type-to-regions</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-type-to-regions-arg"><div class="inner"><span>type-to-regions-arg</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-types"><div class="inner"><span>types</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-types-args"><div class="inner"><span>types-args</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-tz-formats"><div class="inner"><span>tz-formats</span></div></a></li><li class="depth-1"><a href="phone-number.db.html#var-tz-formats-args"><div class="inner"><span>tz-formats-args</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">phone-number.db</h1><h4 class="added">added in 8.12.16-1</h4><div class="doc"><div class="markdown"><p>Cross-category databases and generators for phone-number.</p>
</div></div><div class="public anchor" id="var-calling-code-to-region"><h3>calling-code-to-region</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported calling codes (integer numbers) to their primary regions (sets of keywords).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L206">view source</a></div></div><div class="public anchor" id="var-calling-code-to-region-arg"><h3>calling-code-to-region-arg</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported calling codes (integer numbers) to their primary regions (sets of keywords) which are valid as arguments. Be aware that this map does not contain <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L221">view source</a></div></div><div class="public anchor" id="var-calling-code-to-regions"><h3>calling-code-to-regions</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported calling codes (integer numbers) to regions (sets of keywords) they are assigned to.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L199">view source</a></div></div><div class="public anchor" id="var-calling-code-to-regions-arg"><h3>calling-code-to-regions-arg</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported calling codes (integer numbers) to regions (sets of keywords) they are assigned to and are valid as arguments. Be aware that this map does not contain <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L213">view source</a></div></div><div class="public anchor" id="var-calling-code-to-regions-arg-vec"><h3>calling-code-to-regions-arg-vec</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(calling-code-to-regions-arg-vec region-code)</code></div><div class="doc"><div class="markdown"><p>Returns a vector of phone number regions (which can be used as arguments) for the given calling code and caches the result.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L395">view source</a></div></div><div class="public anchor" id="var-calling-code-to-regions-vec"><h3>calling-code-to-regions-vec</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(calling-code-to-regions-vec region-code)</code></div><div class="doc"><div class="markdown"><p>Returns a vector of phone number types for the given calling code and caches the result.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L386">view source</a></div></div><div class="public anchor" id="var-calling-code-to-types"><h3>calling-code-to-types</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all calling codes (integer numbers) to sets of the supported phone number types (keywords). Please be aware that single country calling code may be used by more than one geographical region (e.g. 1 maps to US, Canada and more), making this database less precise for geographical location. In case of regional numbers consider using <code>phone-number.db/region-to-types</code>. This database will work precisely with non-geographical, global network calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L342">view source</a></div></div><div class="public anchor" id="var-calling-code-to-types-vec"><h3>calling-code-to-types-vec</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(calling-code-to-types-vec region-code)</code></div><div class="doc"><div class="markdown"><p>Returns a vector of phone number types for the given calling code and caches the result.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L404">view source</a></div></div><div class="public anchor" id="var-calling-codes"><h3>calling-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible country calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L46">view source</a></div></div><div class="public anchor" id="var-calling-codes-args"><h3>calling-codes-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible country calling codes (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L106">view source</a></div></div><div class="public anchor" id="var-costs"><h3>costs</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number cost classes as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L81">view source</a></div></div><div class="public anchor" id="var-costs-args"><h3>costs-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number cost classes as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L147">view source</a></div></div><div class="public anchor" id="var-country-codes"><h3>country-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible country calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L41">view source</a></div></div><div class="public anchor" id="var-country-codes-args"><h3>country-codes-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible country calling codes (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L101">view source</a></div></div><div class="public anchor" id="var-formats"><h3>formats</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number formats as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L51">view source</a></div></div><div class="public anchor" id="var-formats-args"><h3>formats-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number formats as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L111">view source</a></div></div><div class="public anchor" id="var-generate-region-arg-for-calling-code"><h3>generate-region-arg-for-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-region-arg-for-calling-code)</code><code>(generate-region-arg-for-calling-code calling-code)</code><code>(generate-region-arg-for-calling-code calling-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random region code (keyword) which is suitable as an argument for the given calling code.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L497">view source</a></div></div><div class="public anchor" id="var-generate-region-for-calling-code"><h3>generate-region-for-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-region-for-calling-code)</code><code>(generate-region-for-calling-code calling-code)</code><code>(generate-region-for-calling-code calling-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates random region code (keyword) for the given calling code.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L511">view source</a></div></div><div class="public anchor" id="var-generate-type-arg-for-calling-code"><h3>generate-type-arg-for-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-type-arg-for-calling-code)</code><code>(generate-type-arg-for-calling-code calling-code-or-random)</code><code>(generate-type-arg-for-calling-code calling-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random number type which is valid for the given region and suitable to be used as an argument. Works for non-geographical numbers (global network calling codes), doesn’t work well for country calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L480">view source</a></div></div><div class="public anchor" id="var-generate-type-arg-for-region"><h3>generate-type-arg-for-region</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-type-arg-for-region)</code><code>(generate-type-arg-for-region region-code-or-random)</code><code>(generate-type-arg-for-region region-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random number type which is valid for the given region and can be used as an argument. Works for geographical numbers, doesn’t work for <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L429">view source</a></div></div><div class="public anchor" id="var-generate-type-for-calling-code"><h3>generate-type-for-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-type-for-calling-code)</code><code>(generate-type-for-calling-code calling-code-or-random)</code><code>(generate-type-for-calling-code calling-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random number type which is valid for the given region. Works for non-geographical numbers (global network calling codes), doesn’t work well for country calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L463">view source</a></div></div><div class="public anchor" id="var-generate-type-for-region"><h3>generate-type-for-region</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-type-for-region)</code><code>(generate-type-for-region region-code-or-random)</code><code>(generate-type-for-region region-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random number type which is valid for the given region. Works for geographical numbers, doesn’t work for <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L413">view source</a></div></div><div class="public anchor" id="var-generate-type-for-region-arg"><h3>generate-type-for-region-arg</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(generate-type-for-region-arg)</code><code>(generate-type-for-region-arg region-code-or-random)</code><code>(generate-type-for-region-arg region-code rng)</code></div><div class="doc"><div class="markdown"><p>Generates a random number type which is valid for the given region (taken from the region codes which are suitable to be used as arguments). Works for geographical numbers, doesn’t work for <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L446">view source</a></div></div><div class="public anchor" id="var-leniencies"><h3>leniencies</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number leniencies as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L56">view source</a></div></div><div class="public anchor" id="var-leniencies-args"><h3>leniencies-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number leniencies as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L117">view source</a></div></div><div class="public anchor" id="var-locales"><h3>locales</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number locales as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L61">view source</a></div></div><div class="public anchor" id="var-locales-args"><h3>locales-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number locales as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L123">view source</a></div></div><div class="public anchor" id="var-match-types"><h3>match-types</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number match types as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L71">view source</a></div></div><div class="public anchor" id="var-match-types-args"><h3>match-types-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number match types as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L135">view source</a></div></div><div class="public anchor" id="var-net-codes"><h3>net-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible global network calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L36">view source</a></div></div><div class="public anchor" id="var-net-codes-args"><h3>net-codes-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible global network calling codes (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L95">view source</a></div></div><div class="public anchor" id="var-region-arg-to-calling-code"><h3>region-arg-to-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported regions (keywords) which are valid as arguments to their primary calling codes (integer numbers). Be aware that this map does not contain <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L251">view source</a></div></div><div class="public anchor" id="var-region-arg-to-calling-codes"><h3>region-arg-to-calling-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported regions (keywords) which are valid as arguments to their calling codes (sets of integer numbers). Be aware that this map does not contain <code>:phone-number.region/world</code>.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L243">view source</a></div></div><div class="public anchor" id="var-region-arg-to-types"><h3>region-arg-to-types</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all regions (keywords) which are valid as arguments to supported phone number types (sets of keywords). Please be aware that this map does not contain <code>:phone-number.region/world</code> pseudo-region.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L300">view source</a></div></div><div class="public anchor" id="var-region-arg-to-types-vec"><h3>region-arg-to-types-vec</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(region-arg-to-types-vec region-code)</code></div><div class="doc"><div class="markdown"><p>Returns a vector of phone number types for the given region (which must be suitable to be used as an argument) and caches the result.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L377">view source</a></div></div><div class="public anchor" id="var-region-to-calling-code"><h3>region-to-calling-code</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported regions (keywords) to their primary calling codes (integer numbers).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L236">view source</a></div></div><div class="public anchor" id="var-region-to-calling-codes"><h3>region-to-calling-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported regions (keywords) to their calling codes (sets of integer numbers).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L229">view source</a></div></div><div class="public anchor" id="var-region-to-types"><h3>region-to-types</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all regions (keywords) to supported phone number types (sets of keywords). Please be aware that the <code>:phone-number.region/world</code> pseudo-region groups many calling codes which can vary when it comes to the supported types, hence making this database less precise. To get more granular data for global numbers which are not geographical, please use <code>phone-number.db/calling-code-to-types</code>. For geographical regions this database will be precise.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L289">view source</a></div></div><div class="public anchor" id="var-region-to-types-vec"><h3>region-to-types-vec</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"><code>(region-to-types-vec region-code)</code></div><div class="doc"><div class="markdown"><p>Returns a vector of phone number types for the given region and caches the result.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L369">view source</a></div></div><div class="public anchor" id="var-regions"><h3>regions</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number region codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L31">view source</a></div></div><div class="public anchor" id="var-regions-args"><h3>regions-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number region codes (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L90">view source</a></div></div><div class="public anchor" id="var-type-to-calling-codes"><h3>type-to-calling-codes</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all the supported phone number types (keywords) to sets of calling codes (integer numbers). Please be aware that single country calling code may be used by more than one geographical region (e.g. 1 maps to US, Canada and more), making this database less precise for geographical location. In case of regional numbers consider using <code>phone-number.db/type-to-regions</code>. This database will work precisely with non-geographical, global network calling codes.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L354">view source</a></div></div><div class="public anchor" id="var-type-to-regions"><h3>type-to-regions</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported phone number types (keywords) to regions (sets of keywords). Please be aware that the <code>:phone-number.region/world</code> pseudo-region groups many calling codes which can vary when it comes to the supported types, hence making this database less precise. To get more granular data for global numbers which are not geographical, please use <code>phone-number.db/type-to-calling-codes</code>. For geographical regions this database will be precise.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L308">view source</a></div></div><div class="public anchor" id="var-type-to-regions-arg"><h3>type-to-regions-arg</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Mapping of all supported phone number types (keywords) to regions (sets of keywords) which are valid as arguments. Please be aware that this map does not contain <code>:phone-number.region/world</code> pseudo-region within its values.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L320">view source</a></div></div><div class="public anchor" id="var-types"><h3>types</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number types as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L66">view source</a></div></div><div class="public anchor" id="var-types-args"><h3>types-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible phone number types as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L129">view source</a></div></div><div class="public anchor" id="var-tz-formats"><h3>tz-formats</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible time zone formats as a set of keywords.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L76">view source</a></div></div><div class="public anchor" id="var-tz-formats-args"><h3>tz-formats-args</h3><h4 class="added">added in 8.12.16-1</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A set of all possible time zone formats as a set of keywords (suitable to be used as arguments).</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/phone-number/tree/8.13.6-3/src/phone_number/db.clj#L141">view source</a></div></div></div></body></html>