[#boost-urls-string_token-is_token]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/string_token.adoc[string&lowbar;token]::is&lowbar;token
:relfileprefix: ../../../
:mrdocs:

Trait to determine if a type is a string token

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_token.hpp#L130[boost&sol;url&sol;grammar&sol;string&lowbar;token&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
using is&lowbar;token = &sol;&ast; implementation-defined &ast;&sol;;
----

== Description

This trait returns `true` if `T` is a valid xref:boost/urls/string_token/StringToken.adoc[`StringToken`] type, and `false` otherwise&period;

== Example
[,cpp]
----
static_assert( string_token::is_token<T>::value );
----

[.small]#Created with https://www.mrdocs.com[MrDocs]#
