Sha256: b2f6a87558b408f0000676eb67e5a802ebbcd9d714c02da44f14291374779eef
Contents?: true
Size: 222 Bytes
Versions: 122
Compression:
Stored size: 222 Bytes
Contents
package isogram import "strings" func IsIsogram(word string) bool { for i, r := range strings.ToLower(word) { if r != ' ' && r != '-' && i < strings.LastIndex(word, string(r)) { return false } } return true }
Version data entries
122 entries across 122 versions & 1 rubygems