UNPKG
@difizen/ai-flow
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
Scalable, out-of-the-box, agent-oriented flow
@difizen/ai-flow
/
src
/
utils
/
wrappedClass.ts
5 lines
(3 loc)
•
151 B
text/typescript
View Raw
1
2
3
4
5
const
isWrappedWithClass
= (
event
:
any
,
className
:
string
|
undefined
) => event.
target
.
closest
(
`.
${className}
`
);
export
default
isWrappedWithClass;