Github user varunsob commented on a diff in the pull request: https://github.com/apache/incubator-weex-site/pull/135#discussion_r181968835 --- Diff: source/references/weex-variable.md --- @@ -160,3 +160,36 @@ weex.supports('module/*') // null weex.supports('@stream/fetch') // null weex.supports('getComponentRect') // null ``` + +## `weex.isRegisteredModule` + +Detect whether the specific module or method is registered. + +```js +weex.weex.isRegisteredModule(moduleName: string, methodName: string): boolean +``` + +It can only be used to check the compatibility of the specific module or method, not support components. --- End diff -- Suggestion: It can only be used to check compatibility of a specific module or method. Checking compatibility of components is not supported.
---