valueStyle is checked to make sure it is a function before trying to call it.