hasBehavior

inline fun <T : Any> hasBehavior(): Boolean

Checks whether this NovaBlock has a BlockBehavior of the reified type T, or a subclass of it.


fun <T : Any> hasBehavior(type: KClass<T>): Boolean

Checks whether this NovaBlock has a BlockBehavior of the specified class type, or a subclass of it.