Skip to content

generationOf

generationOf(rev): number

Defined in: libs/content-revision/src/lib/revision.ts:47

The generation of a revision: the number before the dash, 1 for an entity’s first revision.

string

number

if rev is not <generation>-<digest>.

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.