array builtins
This commit is contained in:
@@ -24,3 +24,9 @@ func (s *String) Equal(other Object) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
func (s *String) Less(other Object) bool {
|
||||
if obj, ok := other.(*String); ok {
|
||||
return s.Value < obj.Value
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user