UnknownConverter

Hierarchy

  • UnknownConverter

Implements

Index

Methods

Methods

convert

convert(reflectedType: tsruntimeTypes.ReflectedType): Unknown

Converts unknown definition.

Parameters:

NameTypeDescription
reflectedTypetsruntimeTypes.ReflectedTypeReflected type.

Returns: Unknown

Returns Unknown pattern instance.


isConvertible

isConvertible(reflectedType: tsruntimeTypes.ReflectedType): boolean

Evaluates if provided reflected type is an unknown.

Parameters:

NameTypeDescription
reflectedTypetsruntimeTypes.ReflectedTypeReflected type.

Returns: boolean

Returns true if reflected type is unknown, else false.


reflect

reflect(reflectedType: tsruntimeTypes.ReflectedType): Unknown

Reflects unknown definition.

Parameters:

NameType
reflectedTypetsruntimeTypes.ReflectedType

Returns: Unknown

Returns Unknown pattern instance.