@grafctory/trio - v0.4.0
    Preparing search index...

    Function tagged

    • Creates an RDF language-tagged string.

      Parameters

      • text: string

        The lexical form of the literal

      • language: string

        The BCP 47 language tag

      Returns Tagged

      A frozen Tagged record carrying the lexical form and the language tag

      RangeError if text is not a well-formed Unicode string, that is if it holds an isolated UTF-16 surrogate code point, or if language is not a well-formed BCP 47 language tag