function checkFeatureId(featureId, featuresLength) {
  if (!defined(featureId) || featureId < 0 || featureId >= featuresLength) {
    throw new DeveloperError(
      `featureId is required and must be between zero and featuresLength - 1 (${featuresLength}` -
        +").",
    );
  }
}
Returns a typed array containing the property values for the property with the given semantic.
<p>
This only operates on the underlying {@link MetadataTable} (if present) as
{@link JsonMetadataTable} and {@link BatchTableHierarchy} do not have
semantics.
</p>

@param {string} semantic The case-sensitive semantic of the property.
@returns {*} The typed array containing the property values or <code>undefined</code> if the property values are not stored in a typed array.

@private