是否包含标签

STD库
服务端
Both Mobile and PC

判断目标实体是否包含指定的标签

声明

func HasTag(target entity, customTag string) bool
go

参数

输入

名称 类型 描述
目标 entity 目标实体
自定义标签 String 自定义标签

返回

类型 描述
Bool 是否包含指定标签