assigns the typevalue as true if unspecified