string

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package string provides an interface to process string in the simpler way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCamelCase added in v1.2.0

func IsCamelCase(s string) bool

IsCamelCase return a bool value indicating whether it is a valid camel case spelling.

func IsDigit added in v1.2.0

func IsDigit(str []rune) bool

IsDigit return a bool value indicating whether it is a digit character.

func IsLetter added in v1.2.0

func IsLetter(str []rune) bool

IsLetter return a bool value indicating whether it is a letter.

func IsLower added in v1.2.0

func IsLower(str []rune) bool

IsLower return a bool value indicating whether it is a lowercase character.

func IsUpper added in v1.2.0

func IsUpper(str []rune) bool

IsUpper return a bool value indicating whether it is an uppercase character.

func IsValidIdentifierName added in v1.2.0

func IsValidIdentifierName(s string) bool

IsValidIdentifierName return a bool value indicating whether it is a valid identifier name.

func Reverse

func Reverse(s string) string

Reverse returns its argument string reversed rune-wise left to right.

Types

This section is empty.

Jump to

Keyboard shortcuts

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