abstract fun <PSI : Any> exists(target: PSI): SKryptonMatch?
abstract fun <PSI : Any> exists(target: PSI, timeout: Double): SKryptonMatch?
Check if target exists (with the default autoWaitTimeout)
PSI
- Pattern, String or Image.
target
- The target to check for.
Return
The found match, null if not found