(value: unknown)
| 212 | * Check if a value is considered set for advanced visibility/selection. |
| 213 | */ |
| 214 | export function isNonEmptyValue(value: unknown): boolean { |
| 215 | if (value === null || value === undefined) return false |
| 216 | if (typeof value === 'string') return value.trim().length > 0 |
| 217 | if (Array.isArray(value)) return value.length > 0 |
| 218 | return true |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Resolve basic and advanced values for a canonical group. |
no outgoing calls
no test coverage detected