docs: function getIriLocalName(iri) {
    if (memory[iri]) return memory[iri]; // !
    if (!(typeof iri === 'string' && iri.includes(colon))) throw new Error(`Given IRI "${iri}" is invalid`);
  
    let workingIri = iri;
    const protocolArray = iri.split('://');
  
    if (protocolArray.length > 2) throw new Error(`Given IRI "${iri}" is invalid`);
    if (protocolArray.length > 1) workingIri = protocolArray[1];
  
    const resPound = sliceOrFail(workingIri, pound);
  
    if (typeof resPound === 'string') {
      if (!resPound.length) throw new Error(`Given IRI "${iri}" is invalid`);
  
      return memory[iri] = resPound;
    }
  
    const resSlash = sliceOrFail(workingIri, slash);
  
    if (typeof resSlash === 'string') {
      if (!resSlash.length) throw new Error(`Given IRI "${iri}" is invalid`);
  
      return memory[iri] = resSlash;
    }
    const resColon = sliceOrFail(workingIri, colon);
  
    if (typeof resColon === 'string') {
      if (!resColon.length) throw new Error(`Given IRI "${iri}" is invalid`);
  
      return memory[iri] = resColon;
    }
  
    throw new Error(`Given IRI "${iri}" is invalid`);
  }