asProperty

inline fun <T, C : NodeProperty<T>> Node<T>.asProperty(): C(source)

Returns the node property of the reified type C.

Receiver

the node from which to retrieve the property.

Return

the property of type C.

Throws

if no compatible property is present.