MCPcopy Create free account
hub / github.com/bridge-codes/bridge / isBridgeMethod

Function isBridgeMethod

packages/bridge/source/routes/method.ts:32–33  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

30}
31
32export const isBridgeMethod = (obj: any): obj is BridgeMethod<any, any, any, any, any> =>
33 typeof obj === 'object' && obj.isBridgeMethodObject === true;
34
35export const method = <
36 BHGet extends BridgeHandler | null = null,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected