(value)
| 2096 | } |
| 2097 | |
| 2098 | function getSwitchDefault(value) { |
| 2099 | value = stripWrapQuote(`${value ?? ''}`.trim()) |
| 2100 | .split(',')[0] |
| 2101 | .trim() |
| 2102 | return /^true$/i.test(value) ? 'true' : 'false' |
| 2103 | } |
| 2104 | |
| 2105 | function getToggleSwitchDefault(value) { |
| 2106 | value = stripWrapQuote(`${value ?? ''}`.trim()) |
no test coverage detected