operator >> method

Tag operator >>(
  1. bool other
)

Assignees a new boolean value to the Tag(removes or adds the tag).

Implementation

Tag operator >>(bool other) {
  if (other) return Tag(tag, entity: entity, value: true);
  return Tag(tag, entity: entity, value: false);
}