<< pyImport Scithon pyLesser >>

Scithon >> Scithon > pyLEquals

pyLEquals

Checks if value 1 is lesser than or equal to value 2.

Syntax

pyLEquals(arg1, arg2)

Arguments

arg1

Value to compared.

arg2

Value to be compared with.

Description

Checks if the first argument is lesser than or equal to the second argument and returns the result; equivalent to arg1 <= arg2. Arguments can be of type int, double, string, bool or python variable.

Example

startPy
py("a = 5")
var = pyGet("a")
pyLEquals(var,3)
quitPy

Report an issue
<< pyImport Scithon pyLesser >>