validate icon indicating copy to clipboard operation
validate copied to clipboard

V2 - refactoring

Open inhere opened this issue 5 years ago • 0 comments

old:

// Gt check value greater dst value. only check for: int(X), uint(X), float(X)
func Gt(val interface{}, dstVal int64) bool {

v2 new:

// Gt check value greater dst value. only check for: int(X), uint(X), float(X)
func Gt(val, dstVal interface{}) bool {
	return gt(reflect.ValueOf(val), reflect.ValueOf(dstVal))
}

// internal implements
func gt(val reflect.Value, dstVal reflect.Value) bool

inhere avatar Mar 16 '21 03:03 inhere