after? ( obj1 obj2 -- ? )
Factor handbook » The language » Objects » Linear order protocol

Prev:Ordering specifiers
Next:before? ( obj1 obj2 -- ? )


Vocabulary
math.order

Inputs
obj1an object
obj2an object


Outputs
?a boolean


Word description
Tests if obj1 comes after obj2 using an intrinsic total order.

Notes
Implemented using <=>.

See also
before?, before=?, after=?

Definition

GENERIC: after? ( obj1 obj2 -- ? )


Methods