@inrupt/solid-client
    Preparing search index...

    Function getUrl

    • Returns the URL value of the specified Property from a [[Thing]]. If the Property is not present or its value is not of type URL, returns null. If the Property has multiple URL values, returns one of its URL values.

      Parameters

      • thing: Thing

        The [[Thing]] to read a URL value from.

      • property: string | Url

        The Property whose URL value to return.

      Returns null | string

      A URL value for the given Property if present, or null if the Property is not present or the value is not of type URL.