Skip to main content
Version: 22.1.0

CommonEventEmitter.listenerCount() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events

Returns:

number