Boolean logic, structural equality, and derived comparisons.
boolean? stays with the type-predicate cohort transitionally; equal?/>/<=/>= are
keep-list operators. default-to and until live on the Fn class.
boolean?Test whether a value is a boolean.
Parameters:
ANY — Value to testReturns: BOOL — True if x is #t or #f
equal?Structural equality: numbers by value, strings by content, pairs and vectors element-wise (deep), else identity.
Vectors compare elementwise (handler installed by x/type/vector); class instances compare by identity.
Parameters:
ANY — First valueANY — Second valueReturns: BOOL — True if a and b are structurally equal
>Test whether a is greater than b.
Parameters:
NUMBER — Left operandNUMBER — Right operandReturns: BOOL — True if a is greater than b
<=Test whether a is less than or equal to b.
Parameters:
NUMBER — Left operandNUMBER — Right operandReturns: BOOL — True if a is less than or equal to b
>=Test whether a is greater than or equal to b.
Parameters:
NUMBER — Left operandNUMBER — Right operandReturns: BOOL — True if a is greater than or equal to b