Skip to content

cupertino-files / readPredicate

Function: readPredicate()

readPredicate(message, options?): Predicate | undefined

Defined in: src/tst/predicates.ts:290

Decode a TST.FormulaPredicateArchive.

Also accepts the pre-pivot shape, whose field numbers differ; the two are told apart by where the formula sits (field 7 in the modern archive, field 1 in the older one).

Parameters

message

RawMessage | undefined

options?

Partial<ReadPredicateOptions> = {}

Returns

Predicate | undefined

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