mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
fix: unused function
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { groupBy, isEmpty, isNil, uniqBy } from 'es-toolkit/compat'
|
import { groupBy, uniqBy } from 'es-toolkit/compat'
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
ConflictDetail,
|
ConflictDetail,
|
||||||
@@ -8,15 +8,6 @@ import type {
|
|||||||
} from '@/types/conflictDetectionTypes'
|
} from '@/types/conflictDetectionTypes'
|
||||||
import { normalizePackId } from '@/utils/packUtils'
|
import { normalizePackId } from '@/utils/packUtils'
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper function to check if a value indicates "compatible with all"
|
|
||||||
* @param value Value to check
|
|
||||||
* @returns True if compatible with all
|
|
||||||
*/
|
|
||||||
export function isCompatibleWithAll(value: any): boolean {
|
|
||||||
return isNil(value) || isEmpty(value)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks for banned package status conflicts.
|
* Checks for banned package status conflicts.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user