NMBComparable

@objc
public protocol NMBComparable

Protocol for types to support beLessThan(), beLessThanOrEqualTo(), beGreaterThan(), beGreaterThanOrEqualTo(), and equal() matchers.

Types that conform to Swift’s Comparable protocol will work implicitly too

  • Undocumented

    Declaration

    Swift

    func NMB_compare(_ otherObject: NMBComparable!) -> ComparisonResult