a date isn't a primitive, its easy just to check its not an object. This is doing a lot of work which could just be `if (!_.isObject())`