pub fn test<F>(&self, tester: F) -> bool
    where
        F: FnOnce(&GraphemeCluster) -> bool,
    {
        self.current().map_or(false, tester)
    }
/// Tests if the current grapheme cluster satisfies the given function.
/// End-Of-Input automatically yields `false`.
Tests if the current grapheme cluster satisfies the given function.
End-Of-Input automatically yields `false`.
Tests if the current grapheme cluster satisfies the given function . End - Of - Input automatically yields ` false ` .
pub fn test<F>(&self, tester: F) -> bool
    where
        F: FnOnce(&GraphemeCluster) -> bool,
    {
        self.current().map_or(false, tester)
    }
pub fn test < F > ( & self , tester : F ) -> bool where F : FnOnce ( & GraphemeCluster ) -> bool , { self . current ( ) . map_or ( false , tester ) }
Tests if the current grapheme cluster satisfies the given function.
Tests if the current grapheme cluster satisfies the given function .
&self
tester
F
&self
tester
F