Function: detectCodeLanguage()
detectCodeLanguage(
source):DetectedCodeLanguage|undefined
Detect a supported code language from a complete free-form text value.
Parameters
Section titled “Parameters”source
Section titled “source”string
Returns
Section titled “Returns”DetectedCodeLanguage | undefined