Skip to content

@shtse8/fluxus v1.0.0


@shtse8/fluxus / src / isStreamProviderInstance

Function: isStreamProviderInstance()

isStreamProviderInstance<T>(value): value is StreamProviderInstance&lt;T&gt;

Defined in: src/providers/streamProvider.ts:59

Type guard to check if a value is a StreamProviderInstance.

Type Parameters

T

T

The potential type of the data.

Parameters

value

unknown

The value to check.

Returns

value is StreamProviderInstance&lt;T&gt;

True if the value is a StreamProviderInstance, false otherwise.

Released under the ISC License.