Port.supportsEvent

bool supportsEvent(Node eventType) @nogc nothrow

Return whether a port supports a certain event type. More precisely, this returns true iff the port has an atom:supports or an ev:supportsEvent property with event_type as the value.

Parameters

eventTypeEvent type

Returns

true if port supports the event type