260ab51974
There's currently two bugs with the font optimization, but we'd really like to ship a stable version. To unblock the stable release, we're **temporarily** reflagging this. It'll be unflagged on canary again!
3 lines
117 B
TypeScript
3 lines
117 B
TypeScript
export function nonNullable<T>(value: T): value is NonNullable<T> {
|
|
return value !== null && value !== undefined
|
|
}
|