import { Brand } from "effect"
const sym = Symbol("A")
type A = Brand.Branded<string, typeof sym>
const A = Brand.nominal<A>()
console.log(A.is("foo")) // I expect false but it is true because it doesn't use A's constructor
console.log(A.is(A("bar"))) // I expect true here, it is true
import { Brand } from "effect"
const sym = Symbol("A")
type A = Brand.Branded<string, typeof sym>
const A = Brand.nominal<A>()
console.log(A.is("foo")) // I expect false but it is true because it doesn't use A's constructor
console.log(A.is(A("bar"))) // I expect true here, it is true