(&self)
| 743 | /// `true` even if the decimal places are 0. e.g. `0.0`. |
| 744 | #[inline] |
| 745 | pub const fn is_float(&self) -> bool { |
| 746 | self.kind_bits() & 0b1100 == 0b0100 && self.third_flag() |
| 747 | } |
| 748 | |
| 749 | /// The [Token] is a [Kind::Dimension] or [Kind::Number] and the underlying character data included a `-` or `+` |
| 750 | /// character. Note that a positive number may not necessarily have a sign, e.g. `3` will return false, while `+3` |
no test coverage detected