Function __global->is_valid_email_address

Definitions

sources/type_sanitisation.php

  • Find whether the specified address is a well-formed e-mail address or not.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$string string required parameter N/A N/A The string to test (Note: This is typed string, not e-mail, because it has to function on failure + we could make an infinite loop)

Return

  • Whether the string is an e-mail address or not
  • Type: boolean
  • Set: N/A
  • Range: N/A