gitlab.com/evatix-go/core@v1.3.55/coreutils/stringutil/IsStartsChar.go (about)

     1  package stringutil
     2  
     3  // IsStartsChar searches for case sensitive terms
     4  func IsStartsChar(
     5  	content string,
     6  	char byte,
     7  ) bool {
     8  	return len(content) > 0 && content[0] == char
     9  }