Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

275 B
Raw Blame
import type { Var } from '../../types'
import { VarType } from '../../types'

export const filterVar = (varType: VarType) => {
  return (v: Var) => {
    if (varType === VarType.any) return true
    if (v.type === VarType.any) return true
    return v.type === varType
  }
}