Michael J. Ryan
1 min readSep 30, 2019

--

I’d make one adjustment…

const isEvent = (k, value)=> k.startsWith(“on”) && typeof value === “function”;

--

--

Michael J. Ryan
Michael J. Ryan

Written by Michael J. Ryan

Food nerd (keto, omad, carnivore) — Programmer and JavaScript junkie! (node.js, mongodb, browser)

Responses (1)