It would be nice if twilly() type checked the functions passed as hooks to avoid TypeErrors. Before I left it up to the user, but it might be less cryptic for debugging if twilly() just did an early exit and threw an error.
I would appreciate a PR if anyone is willing. Otherwise I can do it at some point.
It would be nice if
twilly()
type checked the functions passed as hooks to avoidTypeError
s. Before I left it up to the user, but it might be less cryptic for debugging iftwilly()
just did an early exit and threw an error.I would appreciate a PR if anyone is willing. Otherwise I can do it at some point.