Narrowing prin egalitate și truthiness

Subiect din roadmap-ul TypeScript · parte din „Type guards și narrowing”