Skip to content

JavaScript

Ray M. Perry edited this page Feb 17, 2019 · 1 revision

get-set.{ts,js)

TypeScript: requires typescript installed globally, @types/node installed locally to build.

Traverses a given object and will return the value of the property. If the value is undefined while a default value is present, it will return the default value instead of undefined. If the set function is called, it will also set the property to the given value.

Clone this wiki locally