FuncType - v0.8.64
    Preparing search index...

    Function createBrander

    • Create a branded type constructor for a specific brand

      Type Parameters

      • K extends string
      • T

      Parameters

      • brand: K

        The brand name

      Returns (value: T) => Brand<K, T>

      A function that brands values with the specified brand