- Preparing search index...
- The search index is not available
v0.4.0-beta
- preservedBrand<C, N, B>(codec, predicate, name): BrandP<t.TypeOf<C>, B, t.InputOf<C>>
-
Type Parameters
-
C extends Any<C>
-
N extends string
-
B extends {
readonly [K in string]: symbol
}
Parameters
-
codec: C
-
predicate: Refinement<TypeOf<C>, Branded<TypeOf<C>, B>>
-
name: N
Returns BrandP<t.TypeOf<C>, B, t.InputOf<C>>