lightning-record-view-form is given a object type and a recordId had retrieves data for that type for the record with the Id. Then tags like lightning-output-field can reference field values. What I'd like to do is reference field values from the record in various expressions. Anyone know if there's a way to do that? Example of what I'm trying to do below....
<lightning-record-view-form record-id= {recordId} object-api-name="Foo__c">
<lightning-output-field field-name="Fee__c"></lightning-output-field>
<template if:true={*some expression that Foo__c.Fum__c has a value*}>
<lightning-output-field field-name="Fum__c"></lightning-output-field>
</template>
...