Closed getaaron closed 1 year ago
Since the hasKeyframes() condition is being used as a guard in this case, and when it fails the function returns early, guard is more stylistically appropriate than if.
hasKeyframes()
guard
if
Since the
hasKeyframes()
condition is being used as a guard in this case, and when it fails the function returns early,guard
is more stylistically appropriate thanif
.