Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OptionalValue

Represents a value that may or may not be there.

Example:

{
    valueType: 'optional',
    optional: { valueType: 'text', text: 'a string' }
}

To express values in a more concise way, you can have a look at the ValueHelpers.

Hierarchy

  • OptionalValue

Index

Properties

Properties

Optional optional

optional: Value

valueType

valueType: "optional"

Generated using TypeDoc