kts.IsKnight – determines whether a Creature is a Knight
result = kts.IsKnight(creature)
If the given creature
is a Knight then true
is returned. If it is some other type of Creature, or is nil, then false
is returned.
If creature
is neither nil, nor a valid Creature, then the error "Bad userdata" is generated.