( answers: Record<string, PluginAnswer>, key: string, )
| 36 | |
| 37 | /** Extracts a boolean from a plugin answer, defaulting to `true`. */ |
| 38 | export function answerBoolean( |
| 39 | answers: Record<string, PluginAnswer>, |
| 40 | key: string, |
| 41 | ): boolean { |
| 42 | return answers[key] !== false; |
| 43 | } |
no outgoing calls
no test coverage detected