Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / src/public-api / isScope

Function: isScope() ​

isScope(value): value is Scope<Record<string, any>>

Defined in: projects/libraries/streamix/src/lib/atoms/root.ts:23

Type guard to distinguish a real Scope from a RootScope.

Parameters ​

value ​

Scope<Record<string, any>> | RootScope | null | undefined

Returns ​

value is Scope<Record<string, any>>

Released under the MIT License.