TypeRegistry.lookup

Looks up a type within the type registry.

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

Parameters

object T

The object to look up

Return Value

Type: TypeId

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

Meta