Optional
Readonly
falseOptional
Readonly
trueThe enumerated names.
The number of enumerated entries.
Converts a boolean value to a name.
The boolean value to convert.
The name or undefined if not found.
Convert a code to a name.
The enumeration code.
The enumeration name or undefined if not found.
Convert a name to a boolean value.
The name to convert.
The boolean value or undefined if not found.
Convert a name to a code.
The enumeration name.
The code for the enumeration or undefined if not found.
Static
decodeStatic
encodeGenerated using TypeDoc
Enumerated tag support.
Handles
enumMeta
code mappings.Enumerations in haystack don't have a first class mapping. There is no
enum
kind. Instead an enumerated point its kind tag set toStr
with an additionalenum
tag that defines the enumerations to use. The string is comma separated and each enum should be a valid tag name.The
enumMeta
record is a record that should be considered a singleton. This is used to reference enumerations that could be used on points and other parts of the system.