Skip to content

Home > resol-vbus-core > Datagram > compareTo

Datagram.compareTo() method

Compare this datagram to another Header.

Signature:

typescript
compareTo(otherHeader: Header): number;

Parameters

Parameter

Type

Description

otherHeader

Header

The other header.

**Returns:**

number

A number less than, greater than or equal to zero.