contains

fun contains(name: String): Boolean

Checks whether a resource with the specified name exists.

Return

true if a resource exists; false otherwise.

Parameters

name

The name of the animation resource to check.