Click or drag to resize

EntityId  Conversion (EntityId to Boolean)

Performs an implicit conversion from EntityId to Boolean. Returns true if the specified value is not of the default empty type and does not have an invalid handle.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static implicit operator bool (
	EntityId value
)

Parameters

value
Type: SampSharp.EntitiesEntityId
The value.

Return Value

Type: Boolean
true if the specified value is not of the default empty type and does not have an invalid handle; otherwise false.
See Also