word

package
v0.0.0-...-bd032fb Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package word provide utilities for word games.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPalindrome

func IsPalindrome(s string) bool

IsPalindrome reports whether s reads the same forward and backward. Letter case is ignored, as are non-letters.

Example
fmt.Println(IsPalindrome("A man, a plan, a canal: Panama"))
fmt.Println(IsPalindrome("palindrome"))
Output:

true
false

Types

This section is empty.

Jump to

Keyboard shortcuts

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