Entity:__eq(Entity, Entity)

shared
Metamethod that is called when comparing two entities

Arguments

Returns

  • boolean True if entities are equal.

Examples

Entity:__eq – Metamethod that is called when comparing two entities