• Slang Standard Library Reference
    • Interfaces
      • IArithmetic
      • IArithmeticAtomicable
      • IArray
      • IAtomicable
      • IBitAtomicable
      • IBufferDataLayout
      • IComparable
        • equals
        • lessThan
        • lessThanOrEquals
      • IDefaultInitializable
      • IDifferentiable
      • IDifferentiableFunc
      • IDifferentiableMutatingFunc
      • IDifferentiablePtrType
      • IFloat
      • IFunc
      • IInteger
      • ILogical
      • IMutatingFunc
      • IRWArray
      • IRangedValue
      • __BuiltinArithmeticType
      • __BuiltinFloatingPointType
      • __BuiltinIntegerType
      • __BuiltinLogicalType
      • __ITextureShape
      • __ITextureShape1D2D3D
    • Types
    • Attributes
    • Global Declarations

interface IComparable

Description

Represents types that can be compared. Implemented by all builtin integer and floating point scalar or vector types.

Methods