Class Enum

Index

Constructor methods

Methods

Constructor methods

constructor(name: string, methodObj?: any): Enum

Parameters

  • name: string
  • methodObj?: any optional

Returns

Enum

Methods

public addSymbol(propertiesObj?: any): EnumSymbol

Parameters

  • propertiesObj?: any optional

Returns

EnumSymbol

public contains(object: any): boolean

Parameters

  • object: any

Returns

boolean

public fromName(name: string): EnumSymbol

Parameters

  • name: string

Returns

EnumSymbol

public getNames(): Array<string>

Returns

Array<string>

public getSymbols(): EnumSymbol[]

Returns

EnumSymbol[]

public static isSymbol(object: any): boolean

Parameters

  • object: any

Returns

boolean

public seal()