MCPcopy Create free account
hub / github.com/AccessKit/accesskit / has_value

Method has_value

consumer/src/node.rs:840–842  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

838 }
839
840 pub fn has_value(&self) -> bool {
841 self.data().value().is_some() || (self.supports_text_ranges() && !self.is_multiline())
842 }
843
844 pub fn is_read_only_supported(&self) -> bool {
845 self.is_text_input()

Callers 4

has_labelMethod · 0.80
can_be_focusedMethod · 0.80

Calls 4

dataMethod · 0.80
is_multilineMethod · 0.80
valueMethod · 0.45
supports_text_rangesMethod · 0.45

Tested by

no test coverage detected