Check Current Detail page is single or not

<?php
// Run code only Single Page

if ( is_single()  ) {
   
}