Skip to content
CCPEDIAby Unity Nodes
App Development

Print Assert Result

3 posts172 views1 likesLast activity Dec 2022

  1. kanika_kapoorOP

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

    assert (-my_int == 123)

    any function like print …

    Thanks.

  2. Gary_Verhaegen 1

    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
    
  3. kanika_kapoor

    Thanks, it worked