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

IsEven
ExtensionExtension

answers whether the item is even.

Description

The class IsEven itself will respond to *value just as an instance will. So it can be used in place of functions in the same manner. This is faster than constructing a FunctionDef { }, and probably executes faster.

Class Methods

.value

Arguments:

obj

Instance Methods

.value

Arguments:

obj