s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated Quote from a string or null/undefined.

      Parameters

      • v: string | null | undefined

        The raw string value, null, or undefined

      Returns string & $brand<"Quote">

      A branded Quote value

      When string exceeds 512 characters

      const quote = makeQuote("Notable excerpt");
      const noQuote = makeQuote(null);