fix: default create entity during checkout
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
export const notNullish = (value: any) => value !== null && value !== undefined;
|
||||
export const nullish = (value: any) => value === null || value === undefined;
|
||||
export const nullish = <T>(
|
||||
value: T | null | undefined,
|
||||
): value is null | undefined => {
|
||||
return value === null || value === undefined;
|
||||
};
|
||||
|
||||
export const notNullish = <T>(value: T | null | undefined): value is T =>
|
||||
value !== null && value !== undefined;
|
||||
|
||||
Reference in New Issue
Block a user