Function __global->looks_like_url
Definitions
sources/urls.php
- Find if a value appears to be some kind of URL (possibly a Comcode one).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$value | string | required parameter | N/A | N/A | The value to check |
$lax | boolean | False | N/A | N/A | Whether to be a bit lax in the check |
Return
- Whether the value appears to be a URL
- Type: boolean
- Set: N/A
- Range: N/A