Module

x/evt/lib/index.ts>compose

💧EventEmitter's typesafe replacement
Go to Latest
function compose
import { compose } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";

Type Parameters

A
B
C extends B

Parameters

op2: (data: B) => data is C

Type Parameters

A
B extends A
C

Parameters

op1: (data: A) => data is B

Type Parameters

A
B extends A
C extends B

Parameters

op1: (data: A) => data is B
op2: (data: B) => data is C

Type Parameters

A
B extends A

Parameters

op1: (data: A) => data is B
op2: (data: B) => boolean

Type Parameters

A
B extends A

Parameters

op1: (data: A) => boolean
op2: (data: A) => data is B

Parameters

op1: (data: A) => boolean
op2: (data: A) => boolean