kts.IsAlive – determine whether a creature is still alive
result = kts.IsAlive(creature)
Given a Creature, returns true
if the creature is still alive, or false
if it is dead.
Returns a boolean value as described above.
If the input parameter is not a valid Creature (or nil
), an error is raised.
An input of nil
results in a false
return value.