phone-number.leniency
added in 8.12.4-3
Leniency types for phone-number
by-val-arg
added in 8.12.16-1
Map of Leniency values to leniencies (keywords) to be used as method arguments.
by-val-arg-vec
added in 8.12.16-1
Vector of leniencies (Leniency values) to be used as method arguments.
generate-sample
added in 8.12.4-3
(generate-sample)
(generate-sample rng)
Generates random leniency.
generate-sample-arg
added in 8.12.16-1
(generate-sample-arg)
(generate-sample-arg rng)
Generates random leniency (suitable as an argument).
generate-sample-val
added in 8.12.4-3
(generate-sample-val)
(generate-sample-val rng)
Generates random leniency (string value).
generate-sample-val-arg
added in 8.12.16-1
(generate-sample-val-arg)
(generate-sample-val-arg rng)
Generates random leniency (string value, suitable as an argument).
parse
added in 8.12.4-3
(parse k)
(parse k use-infer)
Parses a leniency and returns a value that can be supplied to Libphonenumber methods.
valid-arg?
added in 8.12.16-1
(valid-arg? leniency)
(valid-arg? leniency use-infer)
Returns true if the given leniency is a valid leniency to be used as an argument, false otherwise. In its binary form it uses namespace inference.
valid?
added in 8.12.4-3
(valid? leniency)
(valid? leniency use-infer)
Returns true if the given leniency is a valid leniency, false otherwise. In its binary form it uses namespace inference.