summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorCorey Osman <corey@logicminds.biz>2015-12-07 16:38:26 -0800
committerCorey Osman <corey@logicminds.biz>2015-12-15 23:24:17 -0800
commit1b048ff9d689fcd0ff8e67640598cb0a1aa00887 (patch)
tree0357c3969c0726fef2650c53976219cfae66cd3c /README.markdown
parentd2ae00cd5fe821d4ab96b3fd1c05c6c2d3d1c27d (diff)
downloadpuppet-stdlib-1b048ff9d689fcd0ff8e67640598cb0a1aa00887.tar.gz
puppet-stdlib-1b048ff9d689fcd0ff8e67640598cb0a1aa00887.tar.bz2
adds new parser called is_absolute_path
* is_absolute_path returns boolean true if the given path is absolute, returns false otherwise. * works for windows and unix
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 221de6e..a6ed1fb 100644
--- a/README.markdown
+++ b/README.markdown
@@ -474,6 +474,10 @@ Boolean check to determine whether a variable is of a given data type. This is e
See the [the Puppet type system](https://docs.puppetlabs.com/references/latest/type.html#about-resource-types) for more information about types.
See the [`assert_type()`](https://docs.puppetlabs.com/references/latest/function.html#asserttype) function for flexible ways to assert the type of a value.
+#### `is_absolute_path`
+
+Returns 'true' if the given path is absolute. *Type*: rvalue.
+
#### `is_array`
Returns 'true' if the variable passed to this function is an array. *Type*: rvalue.