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

7 lines
159 B
Plaintext

/**
* Check if the value is a zero value string like "0px" or "0%"
*/
const isZeroValueString = (v) => /^0[^.\s]+$/u.test(v);
export { isZeroValueString };