Liking cljdoc? Tell your friends :D

phone-number.db

Cross-category databases and generators for phone-number.

Cross-category databases and generators for phone-number.
raw docstring

calling-code-to-regionclj

Mapping of all supported calling codes (integer numbers) to their primary regions (sets of keywords).

Mapping of all supported calling codes (integer numbers) to their primary
regions (sets of keywords).
sourceraw docstring

calling-code-to-region-argclj

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 :phone-number.region/world.

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 `:phone-number.region/world`.
sourceraw docstring

calling-code-to-regionsclj

Mapping of all supported calling codes (integer numbers) to regions (sets of keywords) they are assigned to.

Mapping of all supported calling codes (integer numbers) to regions (sets of
keywords) they are assigned to.
sourceraw docstring

calling-code-to-regions-argclj

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 :phone-number.region/world.

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 `:phone-number.region/world`.
sourceraw docstring

calling-code-to-regions-arg-vecclj

(calling-code-to-regions-arg-vec region-code)

Returns a vector of phone number regions (which can be used as arguments) for the given calling code and caches the result.

Returns a vector of phone number regions (which can be used as arguments) for the
given calling code and caches the result.
sourceraw docstring

calling-code-to-regions-vecclj

(calling-code-to-regions-vec region-code)

Returns a vector of phone number types for the given calling code and caches the result.

Returns a vector of phone number types for the given calling code and caches the
result.
sourceraw docstring

calling-code-to-typesclj

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 phone-number.db/region-to-types. This database will work precisely with non-geographical, global network calling codes.

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 `phone-number.db/region-to-types`. This database will work precisely
with non-geographical, global network calling codes.
sourceraw docstring

calling-code-to-types-vecclj

(calling-code-to-types-vec region-code)

Returns a vector of phone number types for the given calling code and caches the result.

Returns a vector of phone number types for the given calling code and caches the
result.
sourceraw docstring

calling-codesclj

A set of all possible country calling codes.

A set of all possible country calling codes.
sourceraw docstring

calling-codes-argsclj

A set of all possible country calling codes (suitable to be used as arguments).

A set of all possible country calling codes (suitable to be used as arguments).
sourceraw docstring

costsclj

A set of all possible phone number cost classes as a set of keywords.

A set of all possible phone number cost classes as a set of keywords.
sourceraw docstring

costs-argsclj

A set of all possible phone number cost classes as a set of keywords (suitable to be used as arguments).

A set of all possible phone number cost classes as a set of keywords (suitable
to be used as arguments).
sourceraw docstring

country-codesclj

A set of all possible country calling codes.

A set of all possible country calling codes.
sourceraw docstring

country-codes-argsclj

A set of all possible country calling codes (suitable to be used as arguments).

A set of all possible country calling codes (suitable to be used as arguments).
sourceraw docstring

formatsclj

A set of all possible phone number formats as a set of keywords.

A set of all possible phone number formats as a set of keywords.
sourceraw docstring

formats-argsclj

A set of all possible phone number formats as a set of keywords (suitable to be used as arguments).

A set of all possible phone number formats as a set of keywords (suitable to be
used as arguments).
sourceraw docstring

generate-region-arg-for-calling-codeclj

(generate-region-arg-for-calling-code)
(generate-region-arg-for-calling-code calling-code)
(generate-region-arg-for-calling-code calling-code rng)

Generates a random region code (keyword) which is suitable as an argument for the given calling code.

Generates a random region code (keyword) which is suitable as an argument for the
given calling code.
sourceraw docstring

generate-region-for-calling-codeclj

(generate-region-for-calling-code)
(generate-region-for-calling-code calling-code)
(generate-region-for-calling-code calling-code rng)

Generates random region code (keyword) for the given calling code.

Generates random region code (keyword) for the given calling code.
sourceraw docstring

generate-type-arg-for-calling-codeclj

(generate-type-arg-for-calling-code)
(generate-type-arg-for-calling-code calling-code-or-random)
(generate-type-arg-for-calling-code calling-code rng)

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.

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.
sourceraw docstring

generate-type-arg-for-regionclj

(generate-type-arg-for-region)
(generate-type-arg-for-region region-code-or-random)
(generate-type-arg-for-region region-code rng)

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 :phone-number.region/world.

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
`:phone-number.region/world`.
sourceraw docstring

generate-type-for-calling-codeclj

(generate-type-for-calling-code)
(generate-type-for-calling-code calling-code-or-random)
(generate-type-for-calling-code calling-code rng)

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.

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.
sourceraw docstring

generate-type-for-regionclj

(generate-type-for-region)
(generate-type-for-region region-code-or-random)
(generate-type-for-region region-code rng)

Generates a random number type which is valid for the given region. Works for geographical numbers, doesn't work for :phone-number.region/world.

Generates a random number type which is valid for the given region. Works for
geographical numbers, doesn't work for `:phone-number.region/world`.
sourceraw docstring

generate-type-for-region-argclj

(generate-type-for-region-arg)
(generate-type-for-region-arg region-code-or-random)
(generate-type-for-region-arg region-code rng)

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 :phone-number.region/world.

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 `:phone-number.region/world`.
sourceraw docstring

lenienciesclj

A set of all possible phone number leniencies as a set of keywords.

A set of all possible phone number leniencies as a set of keywords.
sourceraw docstring

leniencies-argsclj

A set of all possible phone number leniencies as a set of keywords (suitable to be used as arguments).

A set of all possible phone number leniencies as a set of keywords (suitable to
be used as arguments).
sourceraw docstring

localesclj

A set of all possible phone number locales as a set of keywords.

A set of all possible phone number locales as a set of keywords.
sourceraw docstring

locales-argsclj

A set of all possible phone number locales as a set of keywords (suitable to be used as arguments).

A set of all possible phone number locales as a set of keywords (suitable to be
used as arguments).
sourceraw docstring

match-typesclj

A set of all possible phone number match types as a set of keywords.

A set of all possible phone number match types as a set of keywords.
sourceraw docstring

match-types-argsclj

A set of all possible phone number match types as a set of keywords (suitable to be used as arguments).

A set of all possible phone number match types as a set of keywords (suitable
to be used as arguments).
sourceraw docstring

net-codesclj

A set of all possible global network calling codes.

A set of all possible global network calling codes.
sourceraw docstring

net-codes-argsclj

A set of all possible global network calling codes (suitable to be used as arguments).

A set of all possible global network calling codes (suitable to be used as
arguments).
sourceraw docstring

region-arg-to-calling-codeclj

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 :phone-number.region/world.

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
`:phone-number.region/world`.
sourceraw docstring

region-arg-to-calling-codesclj

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 :phone-number.region/world.

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
`:phone-number.region/world`.
sourceraw docstring

region-arg-to-typesclj

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 :phone-number.region/world pseudo-region.

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
`:phone-number.region/world` pseudo-region.
sourceraw docstring

region-arg-to-types-vecclj

(region-arg-to-types-vec region-code)

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.

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.
sourceraw docstring

region-to-calling-codeclj

Mapping of all supported regions (keywords) to their primary calling codes (integer numbers).

Mapping of all supported regions (keywords) to their primary calling codes (integer
numbers).
sourceraw docstring

region-to-calling-codesclj

Mapping of all supported regions (keywords) to their calling codes (sets of integer numbers).

Mapping of all supported regions (keywords) to their calling codes (sets of integer
numbers).
sourceraw docstring

region-to-typesclj

Mapping of all regions (keywords) to supported phone number types (sets of keywords). Please be aware that the :phone-number.region/world 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 phone-number.db/calling-code-to-types. For geographical regions this database will be precise.

Mapping of all regions (keywords) to supported phone number types (sets of
keywords). Please be aware that the `:phone-number.region/world` 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 `phone-number.db/calling-code-to-types`. For
geographical regions this database will be precise.
sourceraw docstring

region-to-types-vecclj

(region-to-types-vec region-code)

Returns a vector of phone number types for the given region and caches the result.

Returns a vector of phone number types for the given region and caches the result.
sourceraw docstring

regionsclj

A set of all possible phone number region codes.

A set of all possible phone number region codes.
sourceraw docstring

regions-argsclj

A set of all possible phone number region codes (suitable to be used as arguments).

A set of all possible phone number region codes (suitable to be used as arguments).
sourceraw docstring

type-to-calling-codesclj

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 phone-number.db/type-to-regions. This database will work precisely with non-geographical, global network calling codes.

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 `phone-number.db/type-to-regions`. This database will work
precisely with non-geographical, global network calling codes.
sourceraw docstring

type-to-regionsclj

Mapping of all supported phone number types (keywords) to regions (sets of keywords). Please be aware that the :phone-number.region/world 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 phone-number.db/type-to-calling-codes. For geographical regions this database will be precise.

Mapping of all supported phone number types (keywords) to regions (sets of
keywords). Please be aware that the `:phone-number.region/world` 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
`phone-number.db/type-to-calling-codes`. For geographical regions this database
will be precise.
sourceraw docstring

type-to-regions-argclj

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 :phone-number.region/world pseudo-region within its values.

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
`:phone-number.region/world` pseudo-region within its values.
sourceraw docstring

typesclj

A set of all possible phone number types as a set of keywords.

A set of all possible phone number types as a set of keywords.
sourceraw docstring

types-argsclj

A set of all possible phone number types as a set of keywords (suitable to be used as arguments).

A set of all possible phone number types as a set of keywords (suitable to be
used as arguments).
sourceraw docstring

tz-formatsclj

A set of all possible time zone formats as a set of keywords.

A set of all possible time zone formats as a set of keywords.
sourceraw docstring

tz-formats-argsclj

A set of all possible time zone formats as a set of keywords (suitable to be used as arguments).

A set of all possible time zone formats as a set of keywords (suitable to be
used as arguments).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close