Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IntersectionType

Represents an intersection type.

let value: A & B;

Hierarchy

  • Type
    • IntersectionType

Index

Constructors

constructor

Properties

type

type: string = "intersection"

The type name identifier.

types

types: Type[]

The types this union consists of.

Methods

clone

equals

toObject

  • toObject(): any

toString

  • toString(): string

Static isTypeListEqual

  • isTypeListEqual(a: Type[], b: Type[]): boolean

Static isTypeListSimiliar

  • isTypeListSimiliar(a: Type[], b: Type[]): boolean

Generated using TypeDoc