klyn.reflection.Property.getValue
method

    public native getValue(target as Object) as Object

Description

Returns the current value of the property on the given target object.

Non-public properties require `accessible = true`.

Parameters

Parameter | Description
--- | ---
`target` | Instance owning the reflected property.

Returns

Current boxed value of the property.

Example

    prop = type(obj).properties[0u]
    prop.accessible = true
    print(prop.getValue(obj))