runes

package module
v0.0.0-...-18c5aca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2018 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(s []rune) []rune

func Equal

func Equal(a, b []rune) bool

Equal returns a boolean reporting whether a and b are the same length and contain the same bytes. A nil argument is equivalent to an empty slice.

func HasPrefix

func HasPrefix(s, prefix []rune) bool

HasPrefix tests whether the rune slice s begins with prefix.

func HasSuffix

func HasSuffix(s, suffix []rune) bool

HasSuffix tests whether the rune slice s ends with suffix.

func Index

func Index(s, sep []rune) int

Index returns the index of the first instance of sep in s, or -1 if sep is not present in s.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL