MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsInt

Function IsInt

util/validation/validator.go:375–399  ·  view source on GitHub ↗

IsInt check if the string is an integer. Empty string is valid.

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestIsIntFunction · 0.85
BenchmarkIsIntFunction · 0.85

Calls 1

IsNullFunction · 0.85

Tested by 2

TestIsIntFunction · 0.68
BenchmarkIsIntFunction · 0.68