Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/effector/packages/effector/index.d.ts>is

Business logic with ease ☄️
Latest
variable is
import { is } from "https://deno.land/x/effector@effector-vue@23.1.0/packages/effector/index.d.ts";

type

{ unit(obj: unknown): obj is Unit<any> | UnitTargetable<any>; store<O, T>(obj: O | Unit<T> | UnitTargetable<T>): obj is obj extends Unit<T> ? Store<T> | StoreWritable<T> : Store<any> | StoreWritable<any>; event<O, T>(obj: O | Unit<T> | UnitTargetable<T>): obj is obj extends Unit<T> ? Event<T> | EventCallable<T> : Event<any> | EventCallable<any>; effect<O, T, P, F>(obj: O | Effect<T, P, F>): obj is Effect<T, P, F>; domain(obj: unknown): obj is Domain; scope(obj: unknown): obj is Scope; attached<E extends Effect<any, any, any>>(obj: unknown): obj is E; targetable<T>(obj: Unit<T>): obj is UnitTargetable<T>; }