mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 11:24:49 -05:00
• A type guard of the form x instanceof C, where C is of a subtype of the global type ‘Function’ and C has a property named ‘prototype’ o when true, narrows the type of x to the type of the ‘prototype’ property in C provided it is a subtype of the type of x, or o when false, has no effect on the type of x.