Skip to content

cupertino-files / eraOf

Function: eraOf()

eraOf(version): "iwork13" | "iwork16" | "iwork19" | "modern" | "current" | "future"

Defined in: src/tsp/version.ts:114

Classify a fileFormatVersion marker into its era.

Parameters

version

IWorkVersion | undefined

Returns

"iwork13" | "iwork16" | "iwork19" | "modern" | "current" | "future"

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.