Skip to content

@shtse8/fluxus v1.0.0


@shtse8/fluxus / src / isAsyncProviderInstance

Function: isAsyncProviderInstance()

isAsyncProviderInstance<T>(value): value is AsyncProviderInstance&lt;T&gt;

Defined in: src/providers/asyncProvider.ts:40

Type guard to check if a value is an AsyncProviderInstance.

Type Parameters

T

T

The potential type of the data.

Parameters

value

unknown

The value to check.

Returns

value is AsyncProviderInstance&lt;T&gt;

True if the value is an AsyncProviderInstance, false otherwise.

Released under the ISC License.