Filter: matches when data.subject satisfies the provided predicate.
A generic subject-narrowing helper for cases not covered by object
(ECHO instance check) or literal (identity match). Use e.g. for
graph nodes, plugin descriptors, ECHO schemas, or anything with a custom
type-guard predicate.
The token's data contract is preserved (e.g. Article/Section carry
attendableId) and only subject is narrowed by the predicate.
Filter: matches when
data.subjectsatisfies the provided predicate.A generic subject-narrowing helper for cases not covered by object (ECHO instance check) or literal (identity match). Use e.g. for graph nodes, plugin descriptors, ECHO schemas, or anything with a custom type-guard predicate.
The token's data contract is preserved (e.g. Article/Section carry
attendableId) and onlysubjectis narrowed by the predicate.