Binary operator '<' cannot be applied to two 'Int?' operands

后端 未结 3 1036
一向
一向 2020-12-06 07:34

Good evening lovely community,
this is my first post, please have mercy, if I do something wrong.
I know there are some similar questions here, but I doesn\'t under

3条回答
  •  心在旅途
    2020-12-06 07:58

    This error can also occur if you are comparing a custom type (ie: struct or class) for which you haven't implemented the Comparable protocol.

提交回复
热议问题