| R Documentation |
A validated email field. Validation occurs during both serialization and deserialization
staypuft::FieldABC -> staypuft::Field -> Email
new()Create a new Email object
Email$new(...)
validate_email()Email$validate_email()
clone()The objects of this class are cloneable with this method.
Email$clone(deep = FALSE)
deepWhether to make a deep clone.
z <- Schema$new("email", email = fields$email())
z
z$load(list(email = "blueberries@yahoo.com")) # good
if (interactive()) z$load(list(email = 'foobar')) # bad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.