Home / Function/ formatClipboardValue() — supabase Function Reference

formatClipboardValue() — supabase Function Reference

Architecture documentation for the formatClipboardValue() function in common.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  a07b64db_a96e_da6c_ec6f_64cb1f1ba8c9["formatClipboardValue()"]
  4e24acaa_3720_76ac_da6b_725dabb59ac8["handleCopyCell()"]
  4e24acaa_3720_76ac_da6b_725dabb59ac8 -->|calls| a07b64db_a96e_da6c_ec6f_64cb1f1ba8c9
  908a5ebe_ce3a_e714_7919_0dc2973b8bf5["RowContextMenu()"]
  908a5ebe_ce3a_e714_7919_0dc2973b8bf5 -->|calls| a07b64db_a96e_da6c_ec6f_64cb1f1ba8c9
  style a07b64db_a96e_da6c_ec6f_64cb1f1ba8c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/grid/utils/common.ts lines 1–7

export function formatClipboardValue(value: any) {
  if (!value) return ''
  if (typeof value == 'object' || Array.isArray(value)) {
    return JSON.stringify(value)
  }
  return value
}

Subdomains

Frequently Asked Questions

What does formatClipboardValue() do?
formatClipboardValue() is a function in the supabase codebase.
What calls formatClipboardValue()?
formatClipboardValue() is called by 2 function(s): RowContextMenu, handleCopyCell.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free