Function | Package: net.uri | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Significant update since the initial 10.1 release. 10.0 version

## uri-p

Arguments: object

This predicate function returns true if object is an instance of class `uri`.

Because the `iri` class (the class of Internationalized Resource Identifiers or IRIs) is a subclass of the `uri` class, this function will return true when applied to an `iri` object. However, although every URI is an IRI, not every IRI is a URI so this function cannot be used to identify objects as strict URIs. A function which would do so would be like:

    (defun strict-uri-p (object)
       (and (uri-p object) (null (iri-p object))))

See also the class `iri` and iri-p.

See also uri.htm for general information on Universal Resource Indicator support in Allegro CL.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Significant update since the initial 10.1 release. 10.0 version