Skip to content

EmailComponent.valueFromString method

EmailComponent › valueFromString

Converts a string to an email address.

Signature:

valueFromString($string: string): string

Parameters:

ParameterTypeDescription
$stringstring

Returns: stringThe email address.