lodash-es#isObject TypeScript Examples

The following examples show how to use lodash-es#isObject. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: scan.page.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
        public route: ActivatedRoute,
        public router: Router,
        private qrScanner: QRScanner,
        private ngZone: NgZone,
        private intentService: IntentService,
        private zone: NgZone,
        private alertController: AlertController,
        public theme: GlobalThemeService,
        private globalIntentService: GlobalIntentService,
        private globalWalletConnectService: GlobalWalletConnectService,
        private globalNav: GlobalNavService,
        private translate: TranslateService,
    ) {
        const navigation = this.router.getCurrentNavigation();
        if (isObject(navigation.extras.state)) {
            this.fromIntentRequest = navigation.extras.state.fromIntent;
        }
    }