Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @gt

@gt

Panther
Documentation


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

  Calculate greater than.

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 greater than rhs

Example

(TODO)

See Also

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