UNPKG

@fleetbase/ember-ui

Version:

Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.

4 lines (3 loc) 187 B
export default function getInt(subject, property) { return typeof subject === 'object' && Object.prototype.hasOwnProperty.call(subject, property) ? parseInt(subject[property]) : 0; }