pact-version
Use pact-version to obtain the current Pact build version.
Basic syntax
To obtain the current Pact build version, use the following syntax:
(pact-version)
Return value
The pact-version function returns a string representing the current Pact build version.
Examples
The pact-version function is called without any arguments to obtain the current Pact build version.
pact>(pact-version)
"5.0"
In this example, (pact-version) is called, which returns the current Pact build version as a string.