@pwngh/economy-lab
    Preparing search index...

    Function metaString

    Reads one field out of a posting's free-form meta, returning it only when it is a string and the caller's fallback otherwise. Kept free of SQL and store specifics so a non-SQL store never imports engine code for a plain JSON lookup.

    • Reads typed fields from a posting's free-form meta. Kept free of SQL and store specifics so a non-SQL store never imports engine code for a plain JSON lookup.

      Parameters

      • meta: Record<string, unknown>
      • key: string
      • fallback: string

      Returns string