check-component | R Documentation |
smvr
object has a specific componentThese functions check if the smvr object has a specific component.
is_pre_release()
: Checks if the pre-release identifiers are present.
has_build_metadata()
: Checks if the build metadata is present.
is_pre_release(x)
has_build_metadata(x)
x |
A smvr object. |
Indicates whether x
has the specified component.
extract-component functions for extracting components from a smvr object.
v <- parse_semver(c(
"1.0.0", "2.0.0-alpha", "2.0.0-beta", "2.0.0-beta.2+build.123"
))
v
is_pre_release(v)
has_build_metadata(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.