(detect-language language)(detect-language language default)Detects and returns the standardized language keyword for a given language identifier.
Takes a string representing a language identifier and returns the corresponding keyword. Supports multiple input formats including language names in various languages and ISO 639 codes (alpha-2, alpha-3-t, alpha-3-b). Optionally a default value can be provided.
Returns nil if:
Detects and returns the standardized language keyword for a given language identifier. Takes a string representing a language identifier and returns the corresponding keyword. Supports multiple input formats including language names in various languages and ISO 639 codes (alpha-2, alpha-3-t, alpha-3-b). Optionally a default value can be provided. Returns nil if: - The language parameter is nil - No matching language is found
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |