Function: isNarrowingType()
function isNarrowingType(from, to): boolean;
Defined in: packages/core/src/migrate/flatten.ts:185
The inverse: a narrowing that cannot be done without possibly losing data.
Parameters
| Parameter | Type |
|---|---|
from | string |
to | string |
Returns
boolean