andru26
2/23/2018 - 11:29 AM

check if function exists

if (typeof me.onChange === "function") { 
    // safe to use the function
}