@latticexyz/recs / Type
#
Enumeration: Type
Type enum is used to specify value types in ComponentSchema to be able to access type values in JavaScript in addition to TypeScript type checks.
#
Table of contents
#
Enumeration Members
BigInt BigIntArray Boolean Entity EntityArray Number NumberArray OptionalBigInt OptionalBigIntArray OptionalEntity OptionalEntityArray OptionalNumber OptionalNumberArray OptionalString OptionalStringArray OptionalT String StringArray T
#
Enumeration Members
#
BigInt
• BigInt = 3
#
Defined in
#
BigIntArray
• BigIntArray = 9
#
Defined in
#
Boolean
• Boolean = 0
#
Defined in
#
Entity
• Entity = 13
#
Defined in
#
EntityArray
• EntityArray = 15
#
Defined in
#
Number
• Number = 1
#
Defined in
#
NumberArray
• NumberArray = 7
#
Defined in
#
OptionalBigInt
• OptionalBigInt = 4
#
Defined in
#
OptionalBigIntArray
• OptionalBigIntArray = 10
#
Defined in
#
OptionalEntity
• OptionalEntity = 14
#
Defined in
#
OptionalEntityArray
• OptionalEntityArray = 16
#
Defined in
#
OptionalNumber
• OptionalNumber = 2
#
Defined in
#
OptionalNumberArray
• OptionalNumberArray = 8
#
Defined in
#
OptionalString
• OptionalString = 6
#
Defined in
#
OptionalStringArray
• OptionalStringArray = 12
#
Defined in
#
OptionalT
• OptionalT = 18
#
Defined in
#
String
• String = 5
#
Defined in
#
StringArray
• StringArray = 11
#
Defined in
#
T
• T = 17