Function isStackInfo

  • 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.

    Parameters

    • obj: any

      The object to check.

    Returns obj is StackInfo

Generated using TypeDoc