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 e1fb1ea commit f025889Copy full SHA for f025889
src/components/common/util.ts
@@ -357,10 +357,6 @@ export function roundByDPR(value: number): number {
357
return Math.round(value * dpr) / dpr;
358
}
359
360
-export function isObject(value: unknown): value is object {
361
- return value != null && typeof value === 'object';
362
-}
363
-
364
export function isRegExp(value: unknown): value is RegExp {
365
return value != null && value.constructor === RegExp;
366
0 commit comments