import { SELECTED } from '../store/factory/Signal' ; param { string } predicate param { string } trueCond param { string } falseCond returns { string } export default function ( predicate , trueCond , falseCond , id ) { return `if( ${ SELECTED }.mark.role == "lyra_${ id }" && (${ predicate }), ${ trueCond }, ${ falseCond } )` ; } ;