mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-15 01:17:57 -05:00
* Update TS version and setup SourceCred API in backend * Fix typeError in Player.tsx * Update yarn.lock * Update yarn.lock and fix type errors
4 lines
117 B
TypeScript
4 lines
117 B
TypeScript
export function isNotNullOrUndefined<T>(x: T | undefined | null): x is T {
|
|
return x !== undefined && x !== null;
|
|
}
|