Skip to content

fromBrand

fromBrand<C, A>(constructor, annotations?): <I, R>(self) => BrandSchema<A & C, I, R>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:531

Type Parameters

C extends Brand<string | symbol>

A extends Brand<string | symbol>

Parameters

constructor

Constructor<C>

annotations?

Filter<C, A>

Returns

Function

Type Parameters

I

R

Parameters

self

Schema<A, I, R>

Returns

BrandSchema<A & C, I, R>

Since

3.10.0