Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e308b8e284 | |||
| 0c37c9eead | |||
| 03684b19dc | |||
| 1247683981 | |||
| 93c58cdc26 |
@@ -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