Returns a Date property as a Date. When working with JSON objects, Dates are often serialized as ISO-8601 strings. When that happens, we need to safely convert to a proper Date object.
export declare function getDateProperty(date: string | undefined): Date | undefined;
|date||string | undefined||The date property value, which could be a string or a Date object.|
Date | undefined
A Date object.