skrypton-api / com.waicool20.skrypton.sikulix / SKryptonRegion / exists

exists

open fun <PSI : Any> exists(target: PSI): SKryptonMatch?

Overrides ISikuliRegion.exists


open fun <PSI : Any> exists(target: PSI, timeout: Double): SKryptonMatch?

Overrides ISikuliRegion.exists

Check if target exists (with the default autoWaitTimeout)

Parameters

PSI - Pattern, String or Image.

target - The target to check for.

Return
The found match, null if not found