mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 12:51:15 +02:00
5 lines
199 B
TypeScript
5 lines
199 B
TypeScript
import * as Brand from "effect/Brand"
|
|
import * as Schema from "effect/Schema"
|
|
|
|
type Positive = number & Brand.Brand<"Positive">
|
|
export const Positive = Brand.check<Positive>(Schema.isGreaterThan(0))
|