Conformance Examples 0.1.0 — Transforms: transform-at_most¶
at_most-caps-to-maximum¶
at_most returns the argument when the input is above it via {{ n | at_most: 5 }}.
Template
Context
Output
at_most-keeps-smaller-input¶
at_most returns the input when it is already at or below the maximum.
Template
Context
Output
at_most-fractional-maximum¶
at_most returns a fractional maximum when it is the smaller value.
Template
Context
Output
at_most-non-numeric-input-is-null¶
A non-numeric input is a soft failure, so at_most yields null.
Template
Context
Output
at_most-non-numeric-argument-is-null¶
A non-numeric argument is a soft failure, so at_most yields null.
Template
Context
Output
at_most-datetime-keeps-earlier-argument¶
With DateTime input and a DateTime argument, at_most returns the earlier instant.
Template
Context
Output
at_most-datetime-keeps-earlier-input¶
With DateTime input and a DateTime argument, at_most returns the input when it is the earlier instant.
Template
Context
Output
at_most-datetime-non-datetime-argument-is-null¶
DateTime input with a non-DateTime argument is a soft failure, so at_most yields null.
Template
Context
Output
Source fixture: transforms/transform-at_most.json