HomeManualTopicsTypesSymbols

std_types::positive_integer/std::less

returns true if the left argument is less than the right argument

Parameters

left: a positive integer value
right: any numeric value

Result

result: true if left is less than right, false otherwise

Description

If the right argument is a real number then left is converted to a real value before the comparison.

Example

dump! `(4 < 4)

Output

(4 < 4): <false>

Example

dump! `(4 < 4.0)

Output

(4 < 4.0): <false>

Topic

Numbers

Implements

std::less compares two objects in an object specific way

See also

std_types::integer the prototype object for all integral numbers
std_types::real the prototype object for all non-integral numbers
std::equal compares two objects for equality