feature(util) add checkArgs