isValidSlug() — supabase Function Reference
Architecture documentation for the isValidSlug() function in helpers.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 0067ace5_fc7e_cc01_4523_70818d1d345e["isValidSlug()"] ed861eff_c31c_7ffc_754a_851706ec4946["gen_v3()"] ed861eff_c31c_7ffc_754a_851706ec4946 -->|calls| 0067ace5_fc7e_cc01_4523_70818d1d345e style 0067ace5_fc7e_cc01_4523_70818d1d345e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/lib/refGenerator/helpers.ts lines 289–292
function isValidSlug(slug: string): boolean {
const slugRegex = /^[a-z0-9]+(?:-[a-z0-9]+)*$/
return slugRegex.test(slug)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isValidSlug() do?
isValidSlug() is a function in the supabase codebase.
What calls isValidSlug()?
isValidSlug() is called by 1 function(s): gen_v3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free