mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Few debug on obidistribute and some progresses on obiunique, but -c and -m options are still not working
This commit is contained in:
1 parent
3586ecc483
commit
ce226acac0
4 files changed
+110
-8
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user