Skip to content

Commit 20b1585

Browse files
committed
fix: @putout/compare: is: export: isArray: rm
1 parent 2ce1e8b commit 20b1585

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/compare/lib

packages/compare/lib/is.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const {
2020
isTSTypeParameterDeclaration,
2121
} = types;
2222

23+
const {isArray} = Array;
24+
2325
export const isStr = (a) => typeof a === 'string';
2426

2527
const ANY_OBJECT = '__object';
@@ -131,7 +133,6 @@ export const isBool = (a, b) => {
131133
};
132134

133135
export const isEqualType = (a, b) => a.type === b.type;
134-
export const {isArray} = Array;
135136

136137
export const isAny = (a) => {
137138
if (isIdentifier(a, {name: ANY}))

0 commit comments

Comments
 (0)