package.src.style-spec.validate.validate_formatted.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapbox-gl Show documentation
Show all versions of mapbox-gl Show documentation
A WebGL interactive maps library
The newest version!
// @flow
import validateExpression from './validate_expression';
import validateString from './validate_string';
export default function validateFormatted(options: any) {
if (validateString(options).length === 0) {
return [];
}
return validateExpression(options);
}