select top-level property

Function select
getter/setter pair

Implementation

Function select = (String pathArrayString) =>
    (obj) => selectFromArr(pathArrayString.split('.'), obj);