lang: funcs: Fix a copypasta error with the not equals operator

Woops, sorry!
This commit is contained in:
James Shubin
2019-07-22 06:07:16 -04:00
parent a0e756317c
commit 076adeef80

View File

@@ -181,7 +181,7 @@ func init() {
T: types.NewType("func(a str, b str) bool"),
V: func(input []types.Value) (types.Value, error) {
return &types.BoolValue{
V: input[0].Str() == input[1].Str(),
V: input[0].Str() != input[1].Str(),
}, nil
},
})