Every:
Filter:
crucial-library/Classes (extension) | Libraries > crucial > Constraints

Every
ExtensionExtension

holds a list of Contraints, validates that the test object satisifes all of those

Description

Given a list of contraints (or simple functions), the .value method will validate that the test object satisfies all of them. This is like chaining many (constraint and: constaint) together

Class Methods

.new

Arguments:

list

Instance Methods

.list

.value

Arguments:

obj

.add

Arguments:

constraint

.reset