Skip to content

Commit

Permalink
fix: fixed unit test error
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrbo committed Nov 30, 2023
1 parent 467406d commit f7a250a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/is/src/is.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ export function isMap<K = any, V = any>(data: unknown): data is Map<K, V> {
return isType(data, 'map')
}

export const isClient = !isUndefined(window) && !isUndefined(document)

export function isHttp(url: string): boolean {
return url.startsWith('http://') || url.startsWith('https://')
}
Expand Down

0 comments on commit f7a250a

Please sign in to comment.