UNPKG

@myorders/ember-ui

Version:

Myorders UI provides all the interface components, helpers, services and utilities for building a Myorders 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; }