• 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>>