dist/ngx-document-scanner/bundles/ngx-document-scanner.umd.js
function (roles) {
                var _this = this;
                return this.points.find(function (point) {
                    return _this.limitsService.compareArray(point.roles, roles);
                });
            }
function (roles) {
                var _this = this;
                return this.points.find(function (point) {
                    return _this.limitsService.compareArray(point.roles, roles);
                });
            }
function ( roles ) { var _this = this ; return this . points . find ( function ( point ) { return _this . limitsService . compareArray ( point . roles , roles ) ; } ) ; }
returns a point by it's roles
@private
@param {?} roles - an array of roles by which the point will be fetched
@return {?}
returns a point by it s roles