@nospamproxy/core
Preparing search index...
common/validation/EmailAddressRule
EmailRule
Class EmailRule
Custom rule for email validation.
Hierarchy
BaseValidationRule
EmailRule
Index
Constructors
constructor
Methods
execute
Constructors
constructor
new
EmailRule
(
allowInternationalizedDomainName
?:
boolean
,
validCallback
?:
(
punycode
:
string
)
=>
void
,
logger
?:
ILogger
|
null
,
)
:
EmailRule
Parameters
allowInternationalizedDomainName
:
boolean
= true
Optional
validCallback
:
(
punycode
:
string
)
=>
void
logger
:
ILogger
|
null
= null
Returns
EmailRule
Methods
execute
execute
(
value
:
string
,
_obj
?:
IValidateable
)
:
boolean
Parameters
value
:
string
Optional
_obj
:
IValidateable
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
execute
@nospamproxy/core
Loading...
Custom rule for email validation.