[#boost-urls-params_encoded_base-empty]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_base.adoc[params&lowbar;encoded&lowbar;base]::empty
:relfileprefix: ../../../
:mrdocs:

Return true if there are no params

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_base.hpp#L197[boost&sol;url&sol;params&lowbar;encoded&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
empty() const noexcept;
----

== Example

[,cpp]
----
assert( ! url_view( "?key=value" ).encoded_params().empty() );
----
== Complexity

Constant&period;

== Exception Safety

Throws nothing&period;

== Return Value

`true` if there are no params&period;


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