◆ tryGet()
static AspectPropertyValue fiftyone.pipeline.web.examples.mvc.controller.ExampleHelper.tryGet | ( | PropertyGetter | getter | ) |
static
Try to carry out a 'get' on a property getter, and catch a PropertyMissingException to avoid the example breaking if the resource key, or data file are not configured correctly by the user.
- Parameters
-
- getter - to use e.g. DeviceData.getIsMobile()
- Returns
- value