I am using this wrapper function many time. Is there a way to write a generic template from it?
void setFoo(const Napi::CallbackInfo &info) { if (info