lookupCapability function
The capability of a base function call, or '' for non-base / user-defined
functions (which are pure by construction — they can only call other
functions in this table). table is a buildCapabilityTable() result.
Implementation
String lookupCapability(Map table, String module, String function) {
final key = '$module.$function';
if (table.containsKey(key)) {
return table[key] as String;
}
return '';
}