input) throw new Error('Not a truthy value'); } declare const x: number | string | undefined; assert(x); // Narrows x to number | string // Also usable with ...
確定! 回上一頁