mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
• A type guard of the form !expr o when true, narrows the type of x by expr when false, or o when false, narrows the type of x by expr when true.