'use strict';module.exports=function(pth,cb){if(String(pth).indexOf('\u0000')!==-1){varerr=newError('Path must be a string without null bytes.');err.code='ENOENT';if(typeofcb!=='function'){throwerr;}process.nextTick(function(){cb(err);});returnfalse;}returntrue;}