As elsewhere, the return from `getArgs` is an array of `ol.expr.Expression`.  So if you'll want to assert that they are `ol.expr.Literal` and call `getValue`.