import { getValue } from "./get-value" ; export function getInstanceValue ( key , componentData ) { let value = "" ; if ( key . indexOf ( "'" ) != 0 ) value = getValue ( key , componentData ) ; return value == "" ? key . replace ( new RegExp ( /[']/ , "g" ) , "" ) : value ; }