FileUrl
Returns the URL that points to the file
, by default excluding the hostname (relative path).
If the second parameter is provided as true
, it will include the hostname (full, absolute path).
Returns Unknown
if the parameter value (file) is unknown.
Parameters
Name
Type
Required
Description
file
file
☑️
the file of which the URL will be returned
includeDomain
boolean
indicate whether or not to include the full domain (default false)
Last updated
Was this helpful?