Liking cljdoc? Tell your friends :D

phone-number.region

Region handling for phone-number.

Region handling for phone-number.
raw docstring

allclj

Mapping of supported regions (keywords) to region values (strings).

Mapping of supported regions (keywords) to region values (strings).
sourceraw docstring

all-argclj

Mapping of supported regions (keywords) to region values (strings) suitable to be used as arguments.

Mapping of supported regions (keywords) to region values (strings) suitable to be
used as arguments.
sourceraw docstring

all-arg-vecclj

Vector of regions (keywords).

Vector of regions (keywords).
sourceraw docstring

all-vecclj

Vector of regions (keywords).

Vector of regions (keywords).
sourceraw docstring

by-valclj

Mapping of supported region values (strings) to regions (keywords).

Mapping of supported region values (strings) to regions (keywords).
sourceraw docstring

by-val-argclj

Mapping of supported region values (strings) to regions (keywords).

Mapping of supported region values (strings) to regions (keywords).
sourceraw docstring

by-val-arg-vecclj

Vector of regions (string values).

Vector of regions (string values).
sourceraw docstring

by-val-vecclj

Vector of regions (string values).

Vector of regions (string values).
sourceraw docstring

defaultclj

source

default-valclj

source

generate-arg-sampleclj

(generate-arg-sample)
(generate-arg-sample rng)

Generates random region code.

Generates random region code.
sourceraw docstring

generate-arg-sample-valclj

(generate-arg-sample-val)
(generate-arg-sample-val rng)

Generates random region code (string value).

Generates random region code (string value).
sourceraw docstring

generate-sampleclj

(generate-sample)
(generate-sample rng)

Generates random region code.

Generates random region code.
sourceraw docstring

generate-sample-valclj

(generate-sample-val)
(generate-sample-val rng)

Generates random region code (string value).

Generates random region code (string value).
sourceraw docstring

non-geoclj

source

non-geo-valclj

source

normalizeclj

(normalize k)
(normalize k use-infer)

Parses a region code and returns its normalized version.

Parses a region code and returns its normalized version.
sourceraw docstring

normalize-argclj

(normalize-arg k)
(normalize-arg k use-infer)

Parses a region code and returns its normalized version that can be used as an argument.

Parses a region code and returns its normalized version that can be used as an
argument.
sourceraw docstring

parseclj

(parse k)
(parse k use-infer)

Parses a region code and returns a value that can be supplied to Libphonenumber methods.

Parses a region code and returns a value that can be supplied to Libphonenumber
methods.
sourceraw docstring

valid-arg?clj

(valid-arg? region-specification)
(valid-arg? region-specification use-infer)

Returns true if the given region-specification is a valid region code, false otherwise. In its binary form it uses namespace inference.

Returns `true` if the given region-specification is a valid region code, `false`
otherwise. In its binary form it uses namespace inference.
sourceraw docstring

valid?clj

(valid? region-specification)
(valid? region-specification use-infer)

Returns true if the given region-specification is a valid region code, false otherwise. In its binary form it uses namespace inference.

Returns `true` if the given region-specification is a valid region code, `false`
otherwise. In its binary form it uses namespace inference.
sourceraw docstring

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

× close