js-coalaip
js-coalaip copied to clipboard
auto enumerating the properties
Is it possible to automatically (programatically) get the list of properties of any type? For example, something like
const man = new Person()
man.getListOfAllProperties(); // returns ["givenName", "familyName", ...]
Hi @KrishnaPG. This is not currently possible, but is something we would be happy to consider adding. Our bandwidth is a bit limited at the moment so I'm not sure when we will get around to it. We're also happy to consider PRs.
Cheers!