@mudssky/jsutils
Preparing search index...
EnumMatchResult
Interface EnumMatchResult<T>
链式匹配的终结接口,用于执行最终的标签判断
interface
EnumMatchResult
<
T
extends
readonly
EnumArrayObj
[]
>
{
labelIsIn
(
labels
:
readonly
T
[
number
]
[
"label"
]
[]
)
:
boolean
;
}
Type Parameters
T
extends
readonly
EnumArrayObj
[]
枚举数组类型
Index
Methods
label
Is
In
Methods
label
Is
In
labelIsIn
(
labels
:
readonly
T
[
number
]
[
"label"
]
[]
)
:
boolean
检查当前匹配项的标签是否存在于指定的标签列表中
Parameters
labels
:
readonly
T
[
number
]
[
"label"
]
[]
允许的标签数组
Returns
boolean
如果匹配项的标签在允许的列表中,则返回 true
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
label
Is
In
@mudssky/jsutils
Loading...
链式匹配的终结接口,用于执行最终的标签判断