function optionalNumberArray(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  return requireNumberArray(encoded, property);
}
@param {FlatStyle} flatStyle The flat style.
@param {string} property The symbolizer property.
@return {Array<number>|undefined} An array of numbers or undefined.