-
Notifications
You must be signed in to change notification settings - Fork 15
[FEATURE] Order trait #14
Copy link
Copy link
Open
Description
Describe Your Feature
An order trait that returns the relative order of two things.
Provide a Code Snippet Using Your Feature
fn test() {
# 1 means greater than, 0 means equal, -1 means greater than.
return 1.order(0) == 1;
}
**Additional Information**
Order should be implemented like the Equals trait.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Easy
Status
Easy
Status
Easy