Skip to content

Phone

It generates various random phone number.

Example

(ns your-app.phone
(:require [dataimitator.phone.core :refer :all]))
;; Generate a random phone number in USA format
(def phone-usa (random-phone-number))
(println "Random Phone Number (USA):" phone-usa)
;; Generate a random phone number in Europe format
(def phone-europe (random-phone-number :europe))
(println "Random Phone Number (Europe):" phone-europe)
;; Generate a random phone number in International format
(def phone-international (random-phone-number :international))
(println "Random Phone Number (International):" phone-international)