Files
NapCatQQ/.pnpm-store/v3/files/5d/6097353deae16a342d30129f3ffa75ea45611eaa5ba13970407a2bb6fd0a6ad65f6dd2ab4714c6c12a20356fb95f40dd122a3a65ea09a90aa9f58485cc8ed2
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
322 B
Plaintext

import { isZeroValueString } from 'motion-utils';
function isNone(value) {
if (typeof value === "number") {
return value === 0;
}
else if (value !== null) {
return value === "none" || value === "0" || isZeroValueString(value);
}
else {
return true;
}
}
export { isNone };