let prev ; export function print ( val ) { return JSON . stringify ( val ) ; } export function test ( val ) { if ( [ 'prBody' , 'prTitle' ] . some ( ( str ) => str === prev ) ) { return typeof val === 'string' && val . includes ( '\n' ) ; } prev = val ; return false ; }