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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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