Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Falsy values are converted to null #121
When you set a falsy value (
request.yar.set('visits', 1); console.log(request.yar.get('visits')); // logs 1 request.yar.set('visits', 0); console.log(request.yar.get('visits')); // logs null
If this is not an expected behavior, ping me and I will make a PR.