UNPKG

plugin-tls

Version:

plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制

54 lines (25 loc) 718 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [TierModeOptions](./plugin-tls.tiermodeoptions.md) &gt; [hasModeOnTier](./plugin-tls.tiermodeoptions.hasmodeontier.md) ## TierModeOptions.hasModeOnTier() method 在整个层级上判断是否有某个模式 **Signature:** ```typescript hasModeOnTier(mode: string | number): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> mode </td><td> string \| number </td><td> </td></tr> </tbody></table> **Returns:** boolean