sophia_iri

Function is_valid_suffixed_iri_ref

Source
pub fn is_valid_suffixed_iri_ref(ns: &str, suffix: Option<&str>) -> bool
Expand description

Check whether ns and suffix concatenate into a valid (absolute or relative) IRI reference.

ยงPerformances

In the current implementation, a new String is allocated if suffix is not None. Future implementations may be smarter about this.