Skip to main content

has_language

Function has_language 

Source
pub fn has_language(lang_id: &str) -> bool
Expand description

Returns true when the host has detected at least one file of lang_id in the project. The host exposes these via a dedicated HasLanguage request; this helper sends that request and interprets a “true” string response.