We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a33824 commit b53ae0aCopy full SHA for b53ae0a
src/sentry/static/sentry/app/api.tsx
@@ -1,4 +1,4 @@
1
-import {isUndefined, isNil, get, isFunction} from 'lodash';
+import {isUndefined, isNil, get} from 'lodash';
2
import $ from 'jquery';
3
import * as Sentry from '@sentry/browser';
4
@@ -398,7 +398,7 @@ export class Client {
398
_chain<Args extends any[]>(...funcs: Array<((...args: Args) => any) | undefined>) {
399
const filteredFuncs = funcs.filter(
400
(f): f is (...args: Args) => any => {
401
- return isFunction(f);
+ return typeof f === 'function';
402
}
403
);
404
return (...args: Args): void => {
0 commit comments