Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Print Assert ResultForum ↗

Print Assert Result

App Development3 posts155 views1 likesLast activity Dec 2022
KA
kanika_kapoorOP
Dec 2022

How to print the result of below statement on the bash console:

assert (-my_int == 123)

any function like print …

Thanks.

GA
Gary_Verhaegen
Dec 2022

Printing the result of assert is not going to be helpful, I think, but you can use debug to print values in general:

let v = (-my_int == 123)
debug v
assert v
KA
kanika_kapoor
Dec 2022

Thanks, it worked

← Back to Discussions