Skip to content

Geom.isLessEqual()

Description

Returns true if the value of arg1 is less than or equal to the value of arg2, taking into account precision eps.

Syntax

JS
Geom.isLessEqual(arg1: Number, arg2: Number, eps: Number = Geom.EPSILON) -> Boolean

Parameters

Parameter Type Default Value Mandatory Description
arg1 Number ✅ First numerical value.
arg2 Number ✅ Second numerical value.
eps Number Geom.EPSILON Precision of comparison with floating-point numbers.

Return value

Type Description
Boolean Result of the operation.

Example

JS
let ret = Geom.isLessEqual(1, 1.1)
Last update: 14 August 2025, 18:47