reflect._as_types

(internal) `types` with each view replaced by the `type` value it views.

Reference version

Signature

function reflect._as_types(types: reflect.TypeView[]) -> reflect.Type[] throws never

(internal) types with each view replaced by the type value it views.

Every API that takes a TypeView converts it in BAML before it reaches a native, so a class of the caller's own that implements TypeView runs its own as_type(), and the native only ever receives type values.

Source:<builtin>/reflect/reflect.bamlbytes 6229–6508