Checks if the provided object is a valid PalletEvent.
PalletEvent
A PalletEvent is expected to have the following properties:
pallet
palletEvent
This function validates the presence and type of these properties in the provided object.
The object to be checked.
true if the object is a valid PalletEvent, false otherwise.
true
false
Checks if the provided object is a valid
PalletEvent
.Remarks
A
PalletEvent
is expected to have the following properties:pallet
: A string representing the name of the pallet associated with the event.palletEvent
: An object or string representing the details of the pallet event.This function validates the presence and type of these properties in the provided object.