Files
cfw-autumn/shared/utils/utils.ts
2025-08-03 08:05:30 -07:00

3 lines
159 B
TypeScript

export const notNullish = (value: any) => value !== null && value !== undefined;
export const nullish = (value: any) => value === null || value === undefined;