UNPKG

@difizen/ai-flow

Version:

Scalable, out-of-the-box, agent-oriented flow

5 lines (3 loc) 151 B
const isWrappedWithClass = (event: any, className: string | undefined) => event.target.closest(`.${className}`); export default isWrappedWithClass;