MCPcopy Index your code
hub / github.com/expr-lang/expr / More

Function More

vm/runtime/helpers[generated].go:1047–1390  ·  view source on GitHub ↗
(a, b interface{})

Source from the content-addressed store, hash-verified

1045}
1046
1047func More(a, b interface{}) bool {
1048 switch x := a.(type) {
1049 case uint:
1050 switch y := b.(type) {
1051 case uint:
1052 return int(x) > int(y)
1053 case uint8:
1054 return int(x) > int(y)
1055 case uint16:
1056 return int(x) > int(y)
1057 case uint32:
1058 return int(x) > int(y)
1059 case uint64:
1060 return int(x) > int(y)
1061 case int:
1062 return int(x) > int(y)
1063 case int8:
1064 return int(x) > int(y)
1065 case int16:
1066 return int(x) > int(y)
1067 case int32:
1068 return int(x) > int(y)
1069 case int64:
1070 return int(x) > int(y)
1071 case float32:
1072 return float64(x) > float64(y)
1073 case float64:
1074 return float64(x) > float64(y)
1075 }
1076 case uint8:
1077 switch y := b.(type) {
1078 case uint:
1079 return int(x) > int(y)
1080 case uint8:
1081 return int(x) > int(y)
1082 case uint16:
1083 return int(x) > int(y)
1084 case uint32:
1085 return int(x) > int(y)
1086 case uint64:
1087 return int(x) > int(y)
1088 case int:
1089 return int(x) > int(y)
1090 case int8:
1091 return int(x) > int(y)
1092 case int16:
1093 return int(x) > int(y)
1094 case int32:
1095 return int(x) > int(y)
1096 case int64:
1097 return int(x) > int(y)
1098 case float32:
1099 return float64(x) > float64(y)
1100 case float64:
1101 return float64(x) > float64(y)
1102 }
1103 case uint16:
1104 switch y := b.(type) {

Callers 1

RunMethod · 0.92

Calls 2

AfterMethod · 0.80
SprintfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…