@proto-kit/module • Docs
Documentation / @proto-kit/module / isRuntimeMethod
Function: isRuntimeMethod()
isRuntimeMethod(
target,propertyKey):boolean
Checks the metadata of the provided runtime module and its method, to see if it has been decorated with @runtimeMethod()
Parameters
• target: RuntimeModule<unknown>
Runtime module to check
• propertyKey: string
Name of the method to check in the prior runtime module
Returns
boolean
- If the provided method name is a runtime method or not