Skip to main content

URL

Convenience functions to process URL prompts.

IS

is_url(prompt)

Tests if prompt is a URL.

ParamTypeDescription
promptStringThe prompt to test.

CONTENTS

url_contents(prompt)

Retrieves the contents from a prompt that is a URL.

ParamTypeDescription
promptStringThe prompt to retrieve.