MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / evalFunc

Function evalFunc

web/pgadmin/static/js/utils.js:348–353  ·  view source on GitHub ↗
(obj, func, ...param)

Source from the content-addressed store, hash-verified

346
347/* If a function, then evaluate */
348export function evalFunc(obj, func, ...param) {
349 if(_.isFunction(func)) {
350 return func.apply(obj, [...param]);
351 }
352 return func;
353}
354
355export function getBrowser() {
356 if(navigator.userAgent.indexOf('Electron') >= 0) {

Callers 10

node.jsFile · 0.90
setQtStatePartialFunction · 0.90
StaticMappedFormControlFunction · 0.90
MappedFormControlFunction · 0.90
listenDepChangesFunction · 0.90
DataGridRowFunction · 0.90
CellFunction · 0.90
index.jsFile · 0.90
booleanEvaluatorFunction · 0.90
CustomHeaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected