MCPcopy
hub / github.com/jquense/yup / email

Method email

src/string.ts:180–186  ·  view source on GitHub ↗
(message = locale.email)

Source from the content-addressed store, hash-verified

178 }
179
180 email(message = locale.email) {
181 return this.matches(rEmail, {
182 name: 'email',
183 message,
184 excludeEmptyString: true,
185 });
186 }
187
188 url(message = locale.url) {
189 return this.matches(rUrl, {

Callers 3

runkit-example.jsFile · 0.80
object.tsFile · 0.80
string.tsFile · 0.80

Calls 1

matchesMethod · 0.95

Tested by

no test coverage detected