Files
cfw-autumn/shared/utils/utils.ts
2025-09-23 16:14:33 +01:00

5 lines
223 B
TypeScript

/** biome-ignore-all lint/suspicious/noExplicitAny: one off */
export const notNullish = (value: any) => value !== null && value !== undefined;
export const nullish = (value: any) => value === null || value === undefined;