Explorer

conformance.test-list-find-last-by-field

description
Conformance test: list_find_last_by_field returns the last record whose field equals the value
type
Boolean
expression
match @core.list-find-last-by-field(list: [{id: "a", v: 1}, {id: "b", v: 2}, {id: "a", v: 3}], field: "id", value: "a") {
  #some(found$900) =>
    @core.equal(left: $900.v, right: 3),
  _ =>
    false
}
visibility
public
conformance.test-list-find-last-by-field (project definy, branch commit-check, snapshot Jh11inSnBH1eenK5G-juhyzQabT1OLdy3NmjD6OiVCs)
id: dkVxeriwwe78vS4gu7sdFf-jEZPxcVxYtuNrjMNRHlI
content hash: QMJuht7gOZFqh4xTcMtfhhHKn2cA939mz7LdPAWAcUs