MCPcopy Index your code
hub / github.com/RustPython/RustPython / check_age

Method check_age

crates/stdlib/src/unicodedata.rs:92–95  ·  view source on GitHub ↗
(&self, c: CodePoint)

Source from the content-addressed store, hash-verified

90 }
91
92 fn check_age(&self, c: CodePoint) -> bool {
93 c.to_char()
94 .is_none_or(|c| Age::of(c).is_some_and(|age| age.actual() <= self.unic_version))
95 }
96
97 fn extract_char(
98 &self,

Callers 3

extract_charMethod · 0.80
lookupMethod · 0.80
nameMethod · 0.80

Calls 2

actualMethod · 0.80
to_charMethod · 0.45

Tested by

no test coverage detected