Playing with Brand refinements
I was playing around with refinements and wanted to know if doing something like the following even makes sense
type Positive = (number | bigint) & Brand.Brand<"Positive">
const Positive = Brand.refined<Positive>(
(n) => n > 0,
(n) => Brand.error(`Expected ${n} to be positive`)
)