Few debug on obidistribute and some progresses on obiunique, but -c and -m options are still not working

This commit is contained in:
coissac committed 2022-02-15 10:49:01 +01:00
1 parent 3586ecc483
commit ce226acac0
4 files changed
+110 -8

No files matched your search

+2 -1
View File
@@ -54,11 +54,12 @@ func InterfaceToInt(i interface{}) (val int, err error) {
return
}
func IsAnInt(i interface{}) bool {
func CastableToInt(i interface{}) bool {
switch i.(type) {
case int,
int8, int16, int32, int64,
float32, float64,
uint8, uint16, uint32, uint64:
return true
default: