Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @lte

@lte

Panther
Documentation


1: func @lte = <{T: Type}> (lhs: T, rhs: T) -> Bool;

  Calculate less than or equal to.

Template Parameters

  T: type of arguments and output - must be primitive (excluding Void, RawPtr, and TypeID), vector of primitive (excluding Void, RawPtr, and TypeID), or pointer.

Parameters

  lhs: left-hand-side value of operation

  rhs: right-hand-side value of operation

Return Value

  Returns true if lhs is less than or equal to rhs

Example

(TODO)

See Also

@lt Calculate less than
@gt Calculate greater than
@gte Calculate greater than or equal to