satisfy

infix fun satisfy(description: String): SlicesRuleBuilder

Asserts that slices satisfy custom description description.


fun satisfy(id: String, description: String? = null, predicate: SatisfyContext<List<Slice>>.(List<Slice>) -> Boolean): SlicesRuleBuilder

Asserts that the derived slices satisfy a custom predicate within a SatisfyContext block identified by id and optional description.