luftsport / nlf-client

Angular client for NLF services like ORS, using nlf-backend
https://luftsport.github.io/nlf-client
1 stars 1 forks source link

Use lodash instead of cumbersome vanilla #215

Open einarhuseby opened 1 year ago

einarhuseby commented 1 year ago

Example: Convert hasOwnProperty to lodash' has

import { has as _has } from "lodash";

if( _has(this.userData.settings, 'ors.first_report') ) { ... }