MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isObject

Function isObject

packages/agent-core/src/plugin/manifest.ts:467–469  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

465}
466
467function isObject(value: unknown): value is Record<string, unknown> {
468 return typeof value === 'object' && value !== null && !Array.isArray(value);
469}
470
471function isWithin(child: string, parent: string): boolean {
472 const relative = path.relative(parent, child);

Callers 5

parseManifestFunction · 0.70
readSessionStartFunction · 0.70
readMcpServersFunction · 0.70
readAuthorFunction · 0.70
readInterfaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected