Skip to content

Home > @esengine/ecs-framework-monorepo > isServerRpcMethod

isServerRpcMethod() function

检查方法是否为服务端RPC

Signature:

typescript
export declare function isServerRpcMethod(target: object, methodName: string | symbol): boolean;

Parameters

Parameter

Type

Description

target

object

methodName

string | symbol

Returns:

boolean

基于 MIT 许可证发布