Skip to content
Arthur Guiot edited this page Oct 22, 2017 · 1 revision

.isLarger

As you can imagine, this function will compare the initial value with the expected value, to know which one is larger. You can see it like: initialValue > expected

Example

eye.test("larger", "node",
	$ => $(4).isLarger(3)
)

.isSmaller

This one is the opposite of the first one. You can see it like: initialValue < expected

Example

eye.test("smaller", "node",
	$ => $(4).isSmaller(5)
)

⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

Clone this wiki locally