values = '[1, 2, 3] incremented = values.map({ n | n + 1 }) summary = incremented.join(", ") summary.starts-with?("1").then({ fail("Increment failed.") })