mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +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.