(language: Language)
| 20 | type AllowedLanguages = keyof typeof NOTEBOOK_LANGUAGES; |
| 21 | |
| 22 | function isAllowedLanguage(language: Language) { |
| 23 | return Object.prototype.hasOwnProperty.call(NOTEBOOK_LANGUAGES, language); |
| 24 | } |
| 25 | |
| 26 | // In Jupyter, we can have cells which are neither Markdown nor Python, so we |
| 27 | // need to define both functions in the interface. |
no outgoing calls
no test coverage detected