asProperty

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

returns a NodeProperty of the provided type C.

Return

a capability of the provided type C

Parameters

C

type of capability