setAllTypes

open fun setAllTypes(newType: Type): N(source)

Sets the type of all variables. Erases any existing type. This is a shortcut for setting a type on all variable declarators separately.