Migrate to a monorepo structure (#2909)
This commit is contained in:
3
packages/twenty-front/src/utils/isDefined.ts
Normal file
3
packages/twenty-front/src/utils/isDefined.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const isDefined = <T>(
|
||||
value: T | undefined | null,
|
||||
): value is NonNullable<T> => value !== undefined && value !== null;
|
||||
Reference in New Issue
Block a user