Fork me on GitHub
#malli
<
2019-11-15
>
pithyless18:11:47

What is the expected way to check for a function? Something like [:map [:handler fn?]] It looks like fn? is not one of the symbols exported in https://github.com/borkdude/sci/blob/cb1dc3139a53c680b2bdc1038d2c6e26b975ee8e/src/sci/impl/namespaces.cljc#L96 I could do something like [:map [:handler [:fn fn?]]], but I'm wondering if this is something that will be supported for serialization.

ikitommi19:11:49

I think @borkdude knows if sci could support fn?

borkdude19:11:31

slipped through, don't know why

ikitommi19:11:06

Awesome, [:map [:handler [:fn 'fn?]]] would work after that & survive the serialization