TypeRegistry.lookup

Looks up a type within the type registry.

  1. TypeId lookup(T object)
  2. TypeId lookup(TypeInfo object)
    struct TypeRegistry(T, Args...)
    @nogc
    lookup
    (
    TypeInfo object
    )

Parameters

object TypeInfo

The D typeid to look up.

Return Value

Type: TypeId

The TypeId registered for the type, or TypeId.nil if it wasn't found.

Meta