Skip to main content

@microsoft/fast-element > SubscriberSet > has

SubscriberSet.has() method

Checks whether the provided subscriber has been added to this set.

Signature:
has(subscriber: Subscriber): boolean;

Parameters

ParameterTypeDescription
subscriberSubscriberThe subscriber to test for inclusion in this set.
Returns:

boolean