% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ru_setup.R
\name{semver_lt}
\alias{semver_lt}
\title{Show whether a given semver is lesser than a baseline version.}
\usage{
semver_lt(sv = get_default_odkc_version(), to = "1.5.0")
}
\arguments{
\item{sv}{The semver to compare as character
("2023.5.1", "1.5.0", "1.5"), or numeric (1.5).
The value is always parsed with \code{semver::parse_semver()}.
Default: get_default_odkc_version().}

\item{to}{The semver to compare to as string. Although semver can parse
complete version strings, \code{to} is still parsed by \code{parse_odkc_version()}
to ensure it is complete with major, minor, and patch version components.}
}
\value{
A boolean indicating whether the given semver \code{sv} is greater than
the baseline semver \code{to}.
}
\description{
Show whether a given semver is lesser than a baseline version.
}
\examples{
get_default_odkc_version() |> semver_lt("0.8.0")
"2024.1.1" |> semver_lt("2024.1.0")
"2024.1.1" |> semver_lt("2024.1.1")
"2024.1.1" |> semver_lt("2024.1.2")
}
\seealso{
Other ru_settings: 
\code{\link{odata_svc_parse}()},
\code{\link{parse_odkc_version}()},
\code{\link{ru_settings}()},
\code{\link{ru_setup}()},
\code{\link{semver_gt}()},
\code{\link{yell_if_error}()},
\code{\link{yell_if_missing}()}
}
\concept{ru_settings}
