Methods
Int
ΒΆ
Int(b:
Bool
)
Convert Bool to int.
Source:
stdlib.ngs:2236
Returns
Int
Example
true.Int() # 1 false.Int() # 0