Cross-category databases and generators for phone-number.
Cross-category databases and generators for phone-number.
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).
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`.
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.
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`.
(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.
(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.
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.
(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.
A set of all possible country calling codes.
A set of all possible country calling codes.
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).
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.
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).
A set of all possible country calling codes.
A set of all possible country calling codes.
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).
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.
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).
(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.
(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.
(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.
(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`.
(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.
(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`.
(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`.
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.
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).
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.
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).
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.
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).
A set of all possible global network calling codes.
A set of all possible global network calling codes.
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).
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`.
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`.
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.
(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.
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).
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).
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.
(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.
A set of all possible phone number region codes.
A set of all possible phone number region codes.
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).
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.
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.
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.
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.
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).
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.
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).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close