(&self)
| 1091 | |
| 1092 | #[pymethod] |
| 1093 | fn isspace(&self) -> bool { |
| 1094 | use unic_ucd_bidi::bidi_class::abbr_names::*; |
| 1095 | !self.data.is_empty() |
| 1096 | && self.char_all(|c| { |
| 1097 | GeneralCategory::of(c) == GeneralCategory::SpaceSeparator |
| 1098 | || matches!(BidiClass::of(c), WS | B | S) |
| 1099 | }) |
| 1100 | } |
| 1101 | |
| 1102 | // Return true if all cased characters in the string are lowercase and there is at least one cased character, false otherwise. |
| 1103 | #[pymethod] |