UNPKG

@wordpress/url

Version:
14 lines 353 B
/** * Determines whether the given string looks like an email. * * @param email The string to scrutinise. * * @example * ```js * const isEmail = isEmail( 'hello@wordpress.org' ); // true * ``` * * @return Whether or not it looks like an email. */ export declare function isEmail(email: string): boolean; //# sourceMappingURL=is-email.d.ts.map