diff --git a/README.md b/README.md index c4e8e35..e5ad82f 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ We will refer to the column titles (e.g. `Name`, `Height`, `Weight`) as properti - [`isString(value)`](docs/isString.md) -> `boolean` - [`isArray(value)`](docs/isArray.md) -> `boolean` - [`isObject(value)`](docs/isObject.md) -> `boolean` +- [`version()`](docs/version.md) -> `string` --------------------------------- diff --git a/dist/gmynd.js b/dist/gmynd.js index 0590b5d..98a933a 100644 --- a/dist/gmynd.js +++ b/dist/gmynd.js @@ -2,6 +2,10 @@ window.gmynd = (function () { return { + version: function () { + return "1.0.0"; + }, + // JSON / Object manipulation related: // =================================== diff --git a/docs/version.md b/docs/version.md new file mode 100644 index 0000000..d9ff6b7 --- /dev/null +++ b/docs/version.md @@ -0,0 +1,5 @@ +[Back to reference](../README.md) + +### `version()` +Return the version of the gmynd library as a string, e.g. "1.0.0". +