import { DynamicProperty } from '@microsoft/sp-component-base' ; export class DynamicPropertyHelper { param property public static tryGetValueSafe ( property ) { if ( ! property ) return undefined ; if ( property . isDisposed ) return undefined ; try { return property . tryGetValue ( ) ; } catch ( error ) { return undefined ; } } param property public static tryGetValuesSafe ( property ) { if ( ! property ) return undefined ; if ( property . isDisposed ) return undefined ; try { return property . tryGetValues ( ) ; } catch ( error ) { return undefined ; } } }