System.ParameterizedStrings.AsBool C# (CSharp) Method

AsBool() static private method

Converts an Int32 to a Boolean, with 0 meaning false and all non-zero values meaning true.
static private AsBool ( Int32 i ) : bool
i Int32 The integer value to convert.
return bool
                static bool AsBool(Int32 i) { return i != 0; }