In this rule

Historical Rules · 14 June 2019

Rule 509.5g

Official source text from the 14 June 2019 Rules release

Permalink

An ability that reads “Whenever [a creature] attacks and isn’t blocked, . . .” triggers if no creatures are declared as blockers for that creature. It will trigger even if the creature was never declared as an attacker (for example, if it entered the battlefield attacking). It won’t trigger if the attacking creature is blocked and then all its blockers are removed from combat.

Find this number in the current Rules