mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:45:41 +00:00
(#14) Enforce 130-char line length
This commit is contained in:
parent
4571697589
commit
c3cb8ba261
@ -106,10 +106,12 @@ namespace X10D.Int64Extensions
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts the value of the current 64-bit signed integer to an equivalent <see cref="bool" /> value.
|
||||
/// Converts the value of the current 64-bit signed integer to an equivalent Boolean value.
|
||||
/// </summary>
|
||||
/// <param name="value">The value to convert.</param>
|
||||
/// <returns><see langword="true" /> if <paramref name="value" /> is not zero, or <see langword="false" /> otherwise.</returns>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is not zero, or <see langword="false" /> otherwise.
|
||||
/// </returns>
|
||||
public static bool ToBoolean(this long value)
|
||||
{
|
||||
return value != 0;
|
||||
|
Loading…
Reference in New Issue
Block a user