Skip to content

Commit f025889

Browse files
committed
chore: Duplicate utility function
1 parent e1fb1ea commit f025889

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/common/util.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,6 @@ export function roundByDPR(value: number): number {
357357
return Math.round(value * dpr) / dpr;
358358
}
359359

360-
export function isObject(value: unknown): value is object {
361-
return value != null && typeof value === 'object';
362-
}
363-
364360
export function isRegExp(value: unknown): value is RegExp {
365361
return value != null && value.constructor === RegExp;
366362
}

0 commit comments

Comments
 (0)