Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

type_as_value

type_as_value

(T 
type
)
 => 
Type
[Contains abstract features]
Get the Type instance corresponding to a given type

The result of `type_as_value x` is the same as `x.type`.

Internally, Fuzion's front end implements `x.type` using
`type_as_value x`. The middle end then replaces calls to
`type_as_value` by `T`'s type clazz.

Type Parameters

0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)