original

Identify the original type of converted component.

Identify the original type of converted component. The object will be downcasted to OriginalTypeAware interface and if it succeeded original type will be returned. For non-object components typeid(void) will be returned as no OriginalTypeAware they could implement.

  1. const(TypeInfo) original(T object)
  2. TypeInfo original(T component)
  3. TypeInfo original(T typeinfo)
  4. const(TypeInfo) original(T typeinfo)
  5. immutable(TypeInfo) original(T typeinfo)
    nothrow @nogc @safe
    immutable(TypeInfo)
    original
    (
    T : immutable TypeInfo
    )
    (
    auto ref T typeinfo
    )
  6. const(TypeInfo) original(T object, TypeInfo from)

Return Value

Type: immutable(TypeInfo)

TypeInfo of original type from which current one was converted.

Meta