AlexMeah/check-nested — pull request #1 by fidgety (2014-09-02 20:35:33+00:00)
Title: how about returning the value rather than true?

Instead of...

if (checkNested(obj, string)) {
thing = string;
}

you could use

var thing = checkNested(obj, string) || defaultValue