Skip to main content

declared_languages

Function declared_languages 

Source
fn declared_languages(
    card: Option<&Value>,
    language_tags: &[String],
) -> Vec<String>
Expand description

The languages a repo declares: the card’s own list when the blobs carried one, else the two-letter codes among its tags. Empty means the card says nothing, which is not a claim about English either way.