Tag
Index
Interfaces
Functions
Interfaces
Module
typeName
inherited__call__
Callable property
inherited__inspect__
When defined, returns a custom string representation. To be useful, it should be bound to a prototype (ex: Struct)
inherited__decode__
Returns the decoded
input,Result.OkorResult.Error()
inherited__encode__
Returns the encoded
input
inherited__schema__
Returns the JSONSchema corresponding to the decoded type
inheritedasInstance
Try to convert anyValue to enum value or else returns
Option.None
inheritedasString
Converts the given value to a String.
inheritedhasInstance
Return
trueif the given value is an instance of the class.
unwrap
Convert a tagged value to the underlying type
wrap
Convert an underlying type to a tagged type
Parameters
Type module constructor parameters
Type parameters
- T
optionalinherited__inspect__
When defined, returns a custom string representation. To be useful, it should be bound to a prototype (ex: Struct)
inheritedhasInstance
inheritedtypeName
Type string representation
optionalinherited__decode__
Returns the decoded
input,Result.OkorResult.Error()
optionalinherited__encode__
Returns the encoded
input
optionalinherited__schema__
Returns the JSONSchema corresponding to the decoded type
optionalinheritedasInstance
Try to convert anyValue to enum value or else returns
Option.None
optionalinheritedasString
Converts the given value to a String.
Functions
define
Returns a new Tag module
Convert an underlying type to a tagged type Alias to
wrap(value)