aicra/checker/default/string.go

12 lines
149 B
Go
Raw Normal View History

package main
func Match(name string) bool {
return name == "string"
}
func Check(value interface{}) bool {
_, OK := value.(string)
return OK
}