refactor: move .is to type-is