SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

audit.match

BETA

Short name: match

Version: 1.0.0

Pure predicate: evaluates a matcher expression against a candidate object and returns whether it matched.

Back to primitive library

Inputs

KeyTypeRequiredDescription
candidateobjecttruePlain object to test against the matcher. Typically an AuditEvent.
matcherobjecttrueMatcher expression. See SOCIALLUX_THEORY §11.6 and AGENTS.md Axis 8.

Outputs

KeyTypeRequiredDescription
matchedbooleanfalseTrue if the candidate satisfies the matcher.