Equatable
E427894
Equatable is a fundamental Swift protocol that enables value comparison by requiring types to define equality operations.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Equatable canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4275689 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Equatable Context triple: [Swift Standard Library, includesProtocol, Equatable]
-
A.
Equality State
Equality State is the official nickname of Wyoming, highlighting its early adoption of women's suffrage and commitment to equal rights.
-
B.
Created Equal
"Created Equal" is a notable chapter from Milton and Rose Friedman's influential economics book "Free to Choose," which explores issues of equality, freedom, and public policy.
-
C.
Equilibrium
Equilibrium is a 2002 dystopian science fiction action film known for its stylized "gun kata" combat and portrayal of a totalitarian future where emotions are outlawed.
-
D.
The Same and Not the Same
The Same and Not the Same is a popular science book by Nobel Prize–winning chemist Roald Hoffmann that explores the philosophical and cultural dimensions of chemistry, particularly the nature of similarity and difference in chemical substances.
-
E.
To Be Equal
"To Be Equal" is a 1964 book by civil rights leader Whitney Young that outlines his vision and strategy for achieving racial equality and social justice in the United States.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Equatable Target entity description: Equatable is a fundamental Swift protocol that enables value comparison by requiring types to define equality operations.
-
A.
Equality State
Equality State is the official nickname of Wyoming, highlighting its early adoption of women's suffrage and commitment to equal rights.
-
B.
Created Equal
"Created Equal" is a notable chapter from Milton and Rose Friedman's influential economics book "Free to Choose," which explores issues of equality, freedom, and public policy.
-
C.
Equilibrium
Equilibrium is a 2002 dystopian science fiction action film known for its stylized "gun kata" combat and portrayal of a totalitarian future where emotions are outlawed.
-
D.
The Same and Not the Same
The Same and Not the Same is a popular science book by Nobel Prize–winning chemist Roald Hoffmann that explores the philosophical and cultural dimensions of chemistry, particularly the nature of similarity and difference in chemical substances.
-
E.
To Be Equal
"To Be Equal" is a 1964 book by civil rights leader Whitney Young that outlines his vision and strategy for achieving racial equality and social justice in the United States.
- F. None of above. chosen
Statements (41)
| Predicate | Object |
|---|---|
| instanceOf | Swift protocol ⓘ |
| allows |
use in != expressions
ⓘ
use in == expressions ⓘ |
| appliesTo |
class types
ⓘ
enum types ⓘ struct types ⓘ |
| availability | available on all Swift-supported platforms ⓘ |
| category | protocols for basic operations ⓘ |
| comparisonSemantics | should represent value equality ⓘ |
| conformance | can be synthesized by the Swift compiler ⓘ |
| conformanceStyle | explicit conformance declaration required ⓘ |
| conformanceType | value semantics ⓘ |
| definedIn | Swift Standard Library NERFINISHED ⓘ |
| designGuideline | equality must be reflexive symmetric and transitive ⓘ |
| documentationURL | https://developer.apple.com/documentation/swift/equatable ⓘ |
| enables | comparison of instances for equality ⓘ |
| introducedIn | early versions of Swift (pre-1.0 era) ⓘ |
| is | fundamental protocol in Swift ⓘ |
| isRequirementFor |
Dictionary key types (via Hashable)
ⓘ
Hashable ⓘ Set element types ⓘ |
| kind | protocol with associated static operators ⓘ |
| module | Swift NERFINISHED ⓘ |
| operatorType | infix equality operators ⓘ |
| primaryPurpose | enable value comparison ⓘ |
| programmingLanguage | Swift NERFINISHED ⓘ |
| relationshipWith | Hashable ⓘ |
| requires | equality operations ⓘ |
| requiresMethod |
!= operator
ⓘ
== operator ⓘ |
| supports | generic constraints ⓘ |
| synthesizedWhen | all stored properties are Equatable ⓘ |
| usedBy |
Array.contains(_:) method
ⓘ
Array.firstIndex(of:) method NERFINISHED ⓘ Collection.contains(_:) method ⓘ XCTest assertions involving equality ⓘ standard library collection algorithms ⓘ |
| usedFor |
collection operations
ⓘ
comparing two values for equality ⓘ conditional logic ⓘ testing and assertions ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: Equatable Description of subject: Equatable is a fundamental Swift protocol that enables value comparison by requiring types to define equality operations.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.