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)
    nothrow @nogc @safe
    TypeInfo
    original
    (
    T
    )
    (
    auto ref T component
    )
    if (
    !(
    is(T : Object) ||
    is(T : const Object)
    ||
    is(T : immutable Object)
    )
    )
  3. TypeInfo original(T typeinfo)
  4. const(TypeInfo) original(T typeinfo)
  5. immutable(TypeInfo) original(T typeinfo)
  6. const(TypeInfo) original(T object, TypeInfo from)

Return Value

Type: TypeInfo

TypeInfo of original type from which current one was converted.

Meta