Bool
E427887
Bool is Swift’s built-in Boolean type used to represent truth values in conditional logic and control flow.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Bool canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T4275675 — 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: Bool Context triple: [Swift Standard Library, includesType, Bool]
-
A.
Binarowa
Binarowa is a village in southern Poland known for its historic wooden architecture and cultural heritage, including the UNESCO-listed St. Michael the Archangel Church.
-
B.
BO
BO is the two-letter ISO 3166-1 alpha-2 country code that uniquely identifies Bolivia in international standards and systems.
-
C.
Bo
Bo was an extinct indigenous language of the Great Andamanese people, once spoken in the Andaman Islands of India.
-
D.
Bo
Bo was the Portuguese Water Dog who served as one of the Obama family's beloved First Pets during Barack Obama's presidency.
-
E.
Bo
Bo is the widely used nickname of Bo Jackson, the legendary American multi-sport athlete who excelled in both professional baseball and football.
- 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: Bool Target entity description: Bool is Swift’s built-in Boolean type used to represent truth values in conditional logic and control flow.
-
A.
Binarowa
Binarowa is a village in southern Poland known for its historic wooden architecture and cultural heritage, including the UNESCO-listed St. Michael the Archangel Church.
-
B.
BO
BO is the two-letter ISO 3166-1 alpha-2 country code that uniquely identifies Bolivia in international standards and systems.
-
C.
Bo
Bo was an extinct indigenous language of the Great Andamanese people, once spoken in the Andaman Islands of India.
-
D.
Bo
Bo was the Portuguese Water Dog who served as one of the Obama family's beloved First Pets during Barack Obama's presidency.
-
E.
Bo
Bo is the widely used nickname of Bo Jackson, the legendary American multi-sport athlete who excelled in both professional baseball and football.
- F. None of above. chosen
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf |
Boolean data type
ⓘ
Swift primitive type ⓘ |
| bridgedFrom | ObjC BOOL via Foundation ⓘ |
| cannotBeImplicitlyConvertedFrom |
Int
ⓘ
NSNumber NERFINISHED ⓘ String ⓘ |
| cannotBeNil | unless wrapped in Optional ⓘ |
| conformsTo |
Codable
ⓘ
Equatable ⓘ Hashable ⓘ Sendable ⓘ |
| defaultValue | false ⓘ |
| definedIn | Swift programming language NERFINISHED ⓘ |
| definedInModule | Swift standard library NERFINISHED ⓘ |
| hasPossibleValue |
false
ⓘ
true ⓘ |
| introducedIn | Swift 1.0 ⓘ |
| isCaseSensitive | true ⓘ |
| isDocumentedAt | https://developer.apple.com/documentation/swift/bool ⓘ |
| isGenericConstraintExample | Equatable in Swift docs ⓘ |
| isKeyword | true ⓘ |
| isMappedFrom | Objective-C type BOOL ⓘ |
| isStruct | true ⓘ |
| isThreadSafeValueType | true ⓘ |
| isValueType | true ⓘ |
| literalForm |
false
ⓘ
true ⓘ |
| memoryRepresentation | 1 bit conceptually ⓘ |
| represents | truth values ⓘ |
| supportsOperator |
!
ⓘ
!= ⓘ && ⓘ == ⓘ || ⓘ |
| usedFor |
conditional logic
ⓘ
control flow ⓘ |
| usedIn |
Swift assertions
ⓘ
Swift optionals unwrapping conditions ⓘ Swift preconditions ⓘ Swift ternary conditional operator ⓘ |
| usedInStatement |
for where clause
ⓘ
guard ⓘ if ⓘ repeat-while ⓘ while ⓘ |
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: Bool Description of subject: Bool is Swift’s built-in Boolean type used to represent truth values in conditional logic and control flow.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.