@welldot/utils
getLatestAquiferAnalysisField
Returns the value of field from the most recent aquiferanalysis entry where that field is present. Entries are compared by UTC datetime. Returns undefined if no matching entry exists.
getLatestAquiferAnalysisField<
K>(well,field):AquiferAnalysis[K] |undefined
Returns the value of field from the most recent aquifer_analysis entry
where that field is present. Entries are compared by UTC datetime.
Returns undefined if no matching entry exists.
Type Parameters
K
K extends keyof AquiferAnalysis
Parameters
well
Well
field
K
Returns
AquiferAnalysis[K] | undefined