ReadonlydiscriminatorThe discriminator value that identifies the type of a Discriminated object. This value must be unique across all registered discriminators.
ReadonlyvalidatorA method that validates whether an input matches the type associated with the discriminator.
The input to validate.
true if the input matches the type associated with the discriminator, false otherwise.
A registration for a discriminator to the DiscriminatorRegistry.
Since
0.1.0