Skip to content

cupertino-files / ConditionalRule

Interface: ConditionalRule ​

Defined in: src/tst/conditional.ts:64

One "when this, look like that" entry.

Properties ​

cellStyleId ​

cellStyleId: bigint | undefined

Defined in: src/tst/conditional.ts:70

TST.CellStyleArchive applied on a match.


index ​

index: number

Defined in: src/tst/conditional.ts:66

Position in the set; the app applies the first matching rule.


legacy ​

legacy: boolean

Defined in: src/tst/conditional.ts:74

True when read from the pre-2016 rules_prepivot list.


predicate ​

predicate: Predicate | undefined

Defined in: src/tst/conditional.ts:68

The condition. Absent only in a malformed archive.


textStyleId ​

textStyleId: bigint | undefined

Defined in: src/tst/conditional.ts:72

Character style applied to the cell's text on a match.

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