s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated BookTitle from a string.

      Parameters

      • v: string

        The raw title string

      Returns string & $brand<"BookTitle">

      A branded BookTitle value

      When validation fails (empty or exceeds 512 chars)

      const title = makeBookTitle("The Pragmatic Programmer");