From 1b048ff9d689fcd0ff8e67640598cb0a1aa00887 Mon Sep 17 00:00:00 2001 From: Corey Osman Date: Mon, 7 Dec 2015 16:38:26 -0800 Subject: 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 --- README.markdown | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.markdown') 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. -- cgit v1.2.3