findExtension

inline fun <T> findExtension(): T?

Find the first loaded extension that is an instance of the type provided in T.

This can be used to find an extension based on, for example, an implemented interface.

Parameters

T

Types to match extensions against.