Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/middleapi/orpc
/ isObjectSchema
Function
isObjectSchema
packages/openapi/src/schema-utils.ts:15–17 ·
view source on GitHub ↗
(schema: JSONSchema)
Source
from the content-addressed store, hash-verified
13
* @internal
14
*/
15
export
function
isObjectSchema(schema: JSONSchema): schema is ObjectSchema {
16
return
isObject(schema) && schema.
type
===
'object'
17
}
18
19
/**
20
* @internal
Callers
4
schema-utils.test.ts
File · 0.90
#request
Method · 0.90
#successResponse
Method · 0.90
simplifyComposedObjectJsonSchemasAndRefs
Function · 0.90
Calls
1
isObject
Function · 0.90
Tested by
no test coverage detected