MCPcopy Create free account
hub / github.com/apitable/apitable / isEmailUrl

Function isEmailUrl

packages/core/src/utils/string.ts:106–108  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

104}
105
106export function isEmailUrl(url: string): boolean {
107 return new RegExp(`^${LENGTH_LIMITED_EMAIL_REG.source}$`, 'i').test(url);
108}
109
110export function isEmail(email: string): boolean {
111 return new RegExp(EMAIL).test(email);

Callers 1

parseAllUrlFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected