Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Os_lib.Email_or_phone

module Email_or_phone : sig..end

Parse strings that can be e-mails or phones.


type t
type y = [ `Email | `Phone ]
val y : t -> y
val to_string : t -> string
val of_string : only_mail:bool -> string -> t option
module Almost : sig..end
val of_almost : Almost.t -> t option