Liking cljdoc? Tell your friends :D

semvera.core


<'clj/s

(<' x)
(<' x y)
(<' x y & more)
source

<='clj/s

(<=' x)
(<=' x y)
(<=' x y & more)
source

='clj/s

(=' x)
(=' x y)
(=' x y & more)
source

>'clj/s

(>' x)
(>' x y)
(>' x y & more)
source

>='clj/s

(>=' x)
(>=' x y)
(>=' x y & more)
source

in-range?clj/s

(in-range? range version)

Returns true if the version falls within the specified range, otherwise false.

Returns `true` if the version falls within the specified range, otherwise `false`.
sourceraw docstring

not='clj/s

(not=' x)
(not=' x y)
(not=' x y & more)
source

same-version-number?clj/s

(same-version-number? ver1 ver2)

Returns true if the two versions have the same [major minor patch], otherwise false.

Returns `true` if the two versions have the same [`major` `minor` `patch`], otherwise `false`.
sourceraw docstring

semverclj/s

(semver s & {:keys [throw-exceptions] :as opts})

Creates a SemVer record from a string. Returns nil if the input is invalid, unless :throws-exception is explicity set in opts.

Creates a `SemVer` record from a string. Returns `nil` if the input is invalid, unless `:throws-exception` is
explicity set in `opts`.
sourceraw docstring

semver-patternclj/s

source

semver-rangeclj/s

(semver-range s & {:keys [throw-exceptions] :as opts})

Creates a SemVerRange record from a string. Returns nil if the input is invalid, unless :throws-exception is explicity set in opts.

Creates a `SemVerRange` record from a string. Returns `nil` if the input is invalid, unless `:throws-exception` is
explicity set in `opts`.
sourceraw docstring

semver-range-patternclj/s

source

semver-range?clj/s

(semver-range? s)

Return true if the string is a valid semver-range, otherwise false.

Return `true` if the string is a valid `semver-range`, otherwise `false`.
sourceraw docstring

semver?clj/s

(semver? s)

Return true if the string is a valid semver, otherwise false.

Return `true` if the string is a valid `semver`, otherwise `false`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close