IsEmailAddress
→ booleanBare-name Core form of Platform.Function.IsEmailAddress — checks whether a string is a valid email address format. Requires Platform.Load.
Runtime verified
Syntax
IsEmailAddress(value)
1 argument
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value |
string | Yes | The string to validate as an email address. |
Description
IsEmailAddress() is the bare-name Core-library form of Platform.Function.IsEmailAddress(). It requires Platform.Load("core", "1.1.5") before use — the bare name is undefined until the load has run.
It behaves identically to Platform.Function.IsEmailAddress(): same argument, same boolean return. Use the qualified Platform.Function.IsEmailAddress() form when you do not already have a Platform.Load call in scope.
Return value
Returns a boolean — true for a valid email address format, false otherwise.
Example
Platform.Load("core", "1.1.5");
if (IsEmailAddress(emailInput)) {
Write("Valid email");
}