mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 13:40:25 +00:00
Add bypass action to selection toolbox (#2616)
This commit is contained in:
@@ -17,3 +17,8 @@ export function addToComboValues(widget: IComboWidget, value: string) {
|
||||
widget.options.values.push(value)
|
||||
}
|
||||
}
|
||||
|
||||
export const isLGraphNode = (item: unknown): item is LGraphNode => {
|
||||
const name = item?.constructor?.name
|
||||
return name === 'ComfyNode' || name === 'LGraphNode'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user