You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description:** Returns whether a variable `var` is of type `type`
10
+
11
+
[%CFEngine_function_attributes(var, type)%]
12
+
13
+
This function compares the type description of `var` with the string `type`. The function expects a variable identifier as the first argument and a type string as the second argument. The type accepts both the type and an optional subtype. The function evaluates to false by default if the variable or the type string is wrong.
14
+
15
+
To see the possible data types and their subtypes, see `type()`
0 commit comments