latestOf
latestOf<
T>(versions):T|undefined
Defined in: libs/content-revision/src/lib/revision.ts:152
The newest of a set of versioned rows, or undefined when there are none — winner()’s total
order, applied to whatever a caller’s own row shape is, rather than each caller mapping to
Leaf and finding its own row back by hand.
Type Parameters
Section titled “Type Parameters”T extends object
Parameters
Section titled “Parameters”versions
Section titled “versions”readonly T[]
Returns
Section titled “Returns”T | undefined
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.