StatusCodeExtensionsIsError Method

Check if this Status Code is an error

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public static bool IsError(
	this StatusCode value
)

Parameters

value  StatusCode
Status Code

Return Value

Boolean
true if this code is an error

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StatusCode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also