URL
Convenience functions to process URL prompts.
is_url(prompt)
Tests if prompt
is a URL.
Param | Type | Description |
---|
prompt | String | The prompt to test. |
CONTENTS
url_contents(prompt)
Retrieves the contents from a prompt
that is a URL.
Param | Type | Description |
---|
prompt | String | The prompt to retrieve. |