Files
lan-manager/web/node_modules/@antv/util/esm/is-match.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

17 lines
439 B
JavaScript

import isNil from './is-nil';
import keys from './keys';
function isMatch(obj, attrs) {
var _keys = keys(attrs);
var length = _keys.length;
if (isNil(obj))
return !length;
for (var i = 0; i < length; i += 1) {
var key = _keys[i];
if (attrs[key] !== obj[key] || !(key in obj)) {
return false;
}
}
return true;
}
export default isMatch;
//# sourceMappingURL=is-match.js.map