@@ -0,0 +1,9 @@
|
|||||||
|
package lexer
|
||||||
|
|
||||||
|
import "unicode"
|
||||||
|
|
||||||
|
// IsSpace reports whether the rune is a space character as
|
||||||
|
// defined by Unicode's White Space property
|
||||||
|
func IsSpace(r rune) bool {
|
||||||
|
return unicode.IsSpace(r)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user