Просмотр исходного кода

cleanup: Remove unused isFunction (#71838)

Related to https://github.com/getsentry/frontend-tsc/issues/13
Ryan Albrecht 9 месяцев назад
Родитель
Сommit
9f2150ea23
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      static/app/utils.tsx

+ 0 - 2
static/app/utils.tsx

@@ -290,8 +290,6 @@ export function generateQueryWithTag(prevQuery: Query, tag: EventTag): Query {
   return query;
 }
 
-export const isFunction = (value: any): value is Function => typeof value === 'function';
-
 // NOTE: only escapes a " if it's not already escaped
 export function escapeDoubleQuotes(str: string) {
   return str.replace(/\\([\s\S])|(")/g, '\\$1$2');