baml.Concrete
Implemented by all concrete types.
Reference version
Signature
interface baml.ConcreteImplemented by all concrete types.
Use it to test whether a type is concrete, or as a bound restricting a type parameter to concrete types.
Source:<builtin>/baml/core.bamlbytes 740–1358
Default static methods
function
type
() -> reflect.Type throws neverThis type's runtime type value: int.type() is the same value as
reflect.Type.of<int>().
Spell it on a declared type written as one name, optionally qualified
or with generic arguments: Foo.type(), root.models.Base.type(),
Box<int[]>.type(). Array, optional, union, map and function types,
interfaces, and generic type parameters keep the reflect.Type.of<T>()
form. A type that declares its own type member keeps resolving to it.