TypeKey¶
- class dsviper.TypeKey(element_type)¶
Bases:
objectA class used to represent a key<element_type> type where element_type is a concept, club or any_concept.
- is_any_concept() bool¶
Return True if element_type is any_concept.
- is_club() bool¶
Return True if element_type is a club.
- is_concept() bool¶
Return True if element_type is a concept.
- type_code() str¶
Return the type code.