MCPcopy Create free account
hub / github.com/alibaba/open-code-review / isObject

Function isObject

scripts/github-actions/check-plugin-contract.js:727–727  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

725function checkAntigravityManifest(manifest, isFile) {
726 const file = ANTIGRAVITY_MANIFEST;
727 const isObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
728 if (!isObject(manifest)) {
729 return [{ file, message: "Antigravity plugin manifest is missing or is not a valid JSON object." }];
730 }

Callers 1

checkAntigravityManifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected