@welldot/utils
getCurrentWellStatusEntry
Returns the statuschange history log entry with the latest datetime (compared as instants; file order breaks ties). Entries without status are ignored. undefined when there is none.
getCurrentWellStatusEntry(
well):HistoryLogEntry|undefined
Returns the status_change history log entry with the latest datetime
(compared as instants; file order breaks ties). Entries without status
are ignored. undefined when there is none.
Parameters
well
Well
Returns
HistoryLogEntry | undefined