Conformance Examples 0.1.0 — Transforms: transform-where¶
where-property-value¶
With two arguments, keeps structs whose property equals the value.
Template
Context
Output
where-property-truthy¶
With one argument, keeps structs whose property is truthy.
Template
Context
Output
where-no-match-is-empty-list¶
When nothing matches, the result is an empty list.
Template
Context
Output
where-non-list-is-null¶
where operates only on lists; a string input yields null.
Template
Context
Output
where-non-struct-contents-is-null¶
where expects a list of structs; non-struct contents yield null.
Template
Context
Output
Source fixture: transforms/transform-where.json