4 lines
112 B
TypeScript
Raw Normal View History

2024-11-05 10:09:18 +08:00
export function eq(value: any, other: any) {
return value === other || (value !== value && other !== other)
}