has

inline fun <Resource : Any> Skin.has(name: String = defaultStyle): Boolean

Utility function that makes it easier to check if Skin contains assets.

Parameters

name

name of the resource to look for. Defaults to defaultStyle.