MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
check_subtype.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include <memory>
5 
6 namespace mbgl {
7 namespace style {
8 namespace expression {
9 namespace type {
10 
11 std::optional<std::string> checkSubtype(const Type& expected, const Type& t);
12 
13 } // namespace type
14 } // namespace expression
15 } // namespace style
16 } // namespace mbgl
variant< NullType, NumberType, BooleanType, StringType, ColorType, ObjectType, ValueType, mapbox::util::recursive_wrapper< Array >, CollatorType, FormattedType, ErrorType, ImageType > Type
Definition: type.hpp:108
std::optional< std::string > checkSubtype(const Type &expected, const Type &t)
Definition: actor.hpp:15
nonstd::expected< T, E > expected
Definition: expected.hpp:8