resourceExists

fun resourceExists(resourcePath: String, caller: Class<*> = PolyUI::class.java): Boolean

Deprecated

This method is rather wasteful, and usage should be avoided.

Replace with

getResourceStreamNullable?.apply {}