-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isEmpty判定数字的时候均为返回true? #64
Labels
Comments
说错了,这是判断空对象专用的,数字不是有值的对象,算空,返回true |
这个函数是对象专用的,是判断空对象的 |
感觉对象专用应该命名为 isObjectEmpty之类的,isEmpty很容易被误导 |
确实。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可复现的链接:
wu
问题描述与截图:
环境:vue3, 版本:3.5.24 概述:isEmpty在判定数字类型的时候均会返回true,这是否异常?期望的结果:
应该返回false才对吧。
操作系统:
macos
浏览器版本:
No response
The text was updated successfully, but these errors were encountered: