home.social
  1. #buildinpublic There are unicode for ≈, ≉, ≲, ≳. You can do this in Swift.

    protocol ApproximatelyEquatable {
    static func ≈ (lhs: Self, rhs: Self) -> Bool
    }

    extension ApproximatelyEquatable {
    static func ≉ (lhs: Self, rhs: Self) -> Bool {
    false == lhs ≈ rhs
    }
    }

Share on Mastodon

Enter the server where you have an account.