function
IsValidCollectionSlug
Check URL- and API-facing collection slug syntax.
Arguments
| Argument | Type | Description |
|---|---|---|
value | string | The candidate identifier. |
Returns
True for canonical lowercase kebab-case.
boolFull signature
func IsValidCollectionSlug(value string) bool