summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/check_subtype.hpp
blob: 90e5169de7c3afb56a325040d64c92195cfa4f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <mbgl/style/expression/type.hpp>
#include <mbgl/util/optional.hpp>
#include <memory>

namespace mbgl {
namespace style {
namespace expression {
namespace type {

optional<std::string> checkSubtype(const Type& expected, const Type& t);

} // namespace type
} // namespace expression
} // namespace style
} // namespace mbgl