Skip to main content
Version: 21.3.1

CommonEventEmitter.listenerCount() method

Signature:

interface CommonEventEmitter {
listenerCount(event: keyof Events): number;
}

Parameters

ParameterTypeDescription
eventkeyof Events

Returns:

number