MCPcopy Create free account
hub / github.com/Effect-TS/effect / isLessThan2

Function isLessThan2

packages/effect/test/Predicate.test.ts:7–7  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

5const isPositive: Predicate.Predicate<number> = (n) => n > 0
6const isNegative: Predicate.Predicate<number> = (n) => n < 0
7const isLessThan2: Predicate.Predicate<number> = (n) => n < 2
8const isString: Predicate.Refinement<unknown, string> = (u: unknown): u is string => typeof u === "string"
9
10interface NonEmptyStringBrand {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected