Was this page helpful?

Uri.IsValid

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    uri.IsValid(str : str) : bool
    

    Check if a value is a valid URI.

    Usage Restrictions

    8.08 or later

    Parameters

    Name Type Description
    value str uri to check

    Result

    True if the value is a valid URI.

    Samples

                  Output

    Check to see if the value is a valid URI:

    {{uri.IsValid("http://testing.com/images/nav?type=wiki")  }}  

                 

    true

    Check to see if the value is a valid URI:

    {{uri.IsValid("testing.com/images/nav?type=wiki")  }}  

                 

    false

                 

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by