StatehasTagVersion: xstate@5.0.0On this pageState.hasTag() method​Whether the current state configuration has a state node with the specified tag.Signature:hasTag(tag: TTag): boolean;Parameters​ParameterTypeDescriptiontagTTagReturns:boolean