interface RuleOptions {
    order?: number;
    repeat?: boolean;
    required?: boolean;
}

Properties

order?: number

Expected order of appearance.

Remarks

When using this option, it should be specified for all rules in a EvDecoder.

Default Value

The order in which rules were added to EvDecoder.
repeat?: boolean

Whether TLV element may appear more than once.

Default Value

false

required?: boolean

Whether TLV element must appear at least once.

Default Value

false