feature(util) add getType