klyn.Application.type
method
public static native type(value as Object) as Type
Description

Returns the runtime type of a value. Reference expressions are evaluated once and report the concrete object type, even after an upcast, a function call or a property access. An explicit type literal reports the type it names without constructing it.

Parameters
ParameterDescription
valueThe value to inspect.
Returns

The runtime Type instance.

Example
t = Application.type(42)
print(t.fullName)
boxed as Object = "Klyn"
assert Application.type(boxed) == String.type