Type guard to check if an object is of type StackInfo.
This function checks if the provided object contains the necessary properties
(mac_address, stack_serial_number, and boards) and ensures boards is an array.
Returns
true if the object conforms to the StackInfo type, otherwise false.
Type guard to check if an object is of type
StackInfo
.This function checks if the provided object contains the necessary properties (
mac_address
,stack_serial_number
, andboards
) and ensuresboards
is an array.Returns
true
if the object conforms to theStackInfo
type, otherwisefalse
.