Computes the cross-rate between two currencies given a rates dictionary. Returns 1 when both currencies are the same and undefined when either currency is missing from the dictionary.
1
undefined
Computes the cross-rate between two currencies given a rates dictionary. Returns
1when both currencies are the same andundefinedwhen either currency is missing from the dictionary.