MapLibre Native Core
check_subtype.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
mbgl/style/expression/type.hpp
>
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
mbgl::style::expression::type::Type
variant< NullType, NumberType, BooleanType, StringType, ColorType, ObjectType, ValueType, mapbox::util::recursive_wrapper< Array >, CollatorType, FormattedType, ErrorType, ImageType > Type
Definition:
type.hpp:108
mbgl::style::expression::type::checkSubtype
std::optional< std::string > checkSubtype(const Type &expected, const Type &t)
mbgl
Definition:
actor.hpp:15
mbgl::expected
nonstd::expected< T, E > expected
Definition:
expected.hpp:8
type.hpp
include
mbgl
style
expression
check_subtype.hpp
MapLibre website
|
GitHub repository