Whenever any statement, relevant under section 26 or section 27, is proved, all matters may be proved either in order to contradict or to corroborate it, or in order to impeach or confirm the credit of the person by whom it was made, which might have been proved if that person had been called as a witness and had denied upon cross-examination the truth of the matter suggested.
Chapter X — Of the Examination of Witnesses