tock / ai.tock.bot.engine / BotBus / hasActionEntity

hasActionEntity

open fun hasActionEntity(role: String): Boolean (source)
open fun hasActionEntity(entity: Entity): Boolean (source)

Returns true if the current action has the specified entity role.