Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @eq

@eq

Panther
Documentation


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

  Calculate equality.

Template Parameters

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

Parameters

  lhs: left-hand-side value of operation

  rhs: right-hand-side value of operation

Return Value

  Returns true if values are equal

Example

(TODO)

See Also

@neq Calculate non-equality