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

    Function getDate

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

      Parameters

      • thing: Thing

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

      • property: string | Url

        The Property whose date value to return.

      Returns null | Date

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

      1.10.0