Question

Function which returns true false for the Boolean values

Hi,

I need to create a function which will return "true" when the Property value is "1" and return "false" when the property value is "0".

Do we have any OOTB functions for these kind of return values.

Thanks.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
March 21, 2018 - 12:57am

Can you please check the OOTB function getCheckBoxBoolean.

Hope it helps.

Comments

Keep up to date on this post and subscribe to comments

March 21, 2018 - 12:57am

Can you please check the OOTB function getCheckBoxBoolean.

Hope it helps.

March 21, 2018 - 5:11am

What's wrong with just

(.MyProperty == 1)