[−][src]Function sophia_term::iri::is_valid_suffixed_iri_ref
pub fn is_valid_suffixed_iri_ref(ns: &str, suffix: Option<&str>) -> bool
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.