Hyperlinkv0.8.0-beta.28

SchemaRepresentation

export interface $Representation extends Schema.Codec<Representation> {}

/**
 * Schema for the full {@link Representation} union. It recursively validates
 * and encodes any representation node.
 *
 * @category schemas
 * @since 4.0.0
 */
export const $Representation: $Representation = Schema.Union([
  $Null,
  $Undefined,
  $Void,
  $Never,
  $Unknown,
  $Any,
  $String,
  $Number,
  $Boolean,
  $BigInt,
  $Symbol,
  $Literal,
  $UniqueSymbol,
  $ObjectKeyword,
  $Enum,
  $TemplateLiteral,
  $Arrays,
  $Objects,
  $Union,
  $Reference,
  $Declaration,
  $Suspend
]).annotate({ identifier: "Schema" })
Referenced by 2 symbols