Refactoring: Simplified some if-else by creating a function similar to `to_list`. (#10679)
* Refactoring: Simplified some if-else by creating a function similar to `to_list`. * Changed the name and the description of `first_or_list`.
Showing
想要评论请 注册 或 登录