MCPcopy Create free account
hub / github.com/middleapi/orpc / isTypescriptObject

Function isTypescriptObject

packages/shared/src/object.ts:57–59  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

55 * Check if the value satisfy a `object` type in typescript
56 */
57export function isTypescriptObject(value: unknown): value is object & Record<PropertyKey, unknown> {
58 return !!value && (typeof value === 'object' || typeof value === 'function')
59}
60
61export function clone<T>(value: T): T {
62 if (Array.isArray(value)) {

Callers 14

getFunction · 0.90
mapErrorFunction · 0.90
mapEventIteratorFunction · 0.90
toEventIteratorFunction · 0.90
getEventMetaFunction · 0.90
isSchemaIssueFunction · 0.90
subscribeListenerMethod · 0.90
getIssueMessageFunction · 0.90
getRouterFunction · 0.90
toEventIteratorFunction · 0.90
toStandardSchemaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected