aboutsummaryrefslogtreecommitdiff
path: root/u/types/fn/callable.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-20 13:03:39 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-20 13:03:39 -0700
commitdc4ac7742690f8f2bd759d57108ac4455e717fe9 (patch)
treef138ba41dd44bf703087eaa8ec43a22fe842923d /u/types/fn/callable.ts
parentdccb99505e92685ba8ade7c3be84555f2b539a47 (diff)
downloadci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.tar.gz
ci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.zip
Mount src directory from path on host running worker container
Diffstat (limited to 'u/types/fn/callable.ts')
-rw-r--r--u/types/fn/callable.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/u/types/fn/callable.ts b/u/types/fn/callable.ts
index 51756d7..60d747b 100644
--- a/u/types/fn/callable.ts
+++ b/u/types/fn/callable.ts
@@ -10,6 +10,8 @@ export interface Mapper<T, U> extends Callable<U, T> {
(t: T): U;
}
+export interface Predicate<T> extends Mapper<T, boolean> {}
+
export interface BiMapper<T, U, R> extends Callable {
(t: T, u: U): R;
}