- 
                Notifications
    
You must be signed in to change notification settings  - Fork 33
 
ConvertToBoolean Function
        Nilesh Ghodekar edited this page Jan 13, 2016 
        ·
        3 revisions
      
    bool ConvertToBoolean(value:string) / bool ConvertToBoolean(value:integer)
Converts a string or a number to a boolean value.
If the input value is null, the function returns false.
For the integer input, if the number is not zero, the function returns true, otherwise it returns false.
For the string input, if the string is "true", the function returns true, if the string is "false", the function returns false. If the string is anything else, an exception is thrown.
2.14.611.0 and later
And([//WorkFlowdata/IsAdmin],ConvertToBoolean([//Target/IsInAD]))
- MIMWAL Site - http://aka.ms/MIMWAL
 - MIMWAL Releases - http://aka.ms/MIMWAL/Releases
 - MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
 - MIMWAL FAQ - http://aka.ms/mimwal/faq
 - MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
 - MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum