Switched from == to === to avoid unnecessary type conversions.