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

    Function getTime

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

      Parameters

      • thing: Thing

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

      • property: string | Url

        The Property whose time value to return.

      Returns null | Time

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

      1.10.0