diff options
Diffstat (limited to 'docs/markdown/Syntax.md')
-rw-r--r-- | docs/markdown/Syntax.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 002ed01..7cb39e9 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -281,6 +281,14 @@ is_new = version.version_compare('>=2.0') # Supports the following operators: '>', '<', '>=', '<=', '!=', '==', '=' ``` +Meson version comparison conventions include: + +```meson +'3.6'.version_compare('>=3.6.0') == false +``` + +It is best to be unambiguous and specify the full revision level to compare. + ## Arrays Arrays are delimited by brackets. An array can contain an arbitrary number of objects of any type. |