args-any
Version:
Utility lib for parsing command options
49 lines (48 loc) • 753 B
TypeScript
/**
* Supported `Operators` used when filtering lists
* @default `Eq`
*/
export declare enum Operator {
/**
* Equal to
* @example
* -option1 eq value1
* -option2=5
* */
Eq = 0,
/**
* Less than
* @example
* -option1<5
* -option2 lt 2
* */
Lt = 1,
/**
* Less than or equal to
* @example
* -option1 le 2
* -option2<=2
*/
Le = 2,
/**
* Greater than
* @example
* -option1 gt 1
* -option2>3
*/
Gt = 3,
/**
* Greater than or equal to
* @example
* -option1 ge 4
* -option2>=5
*/
Ge = 4,
/**
* Not equal to
* @example
* -option1!=5
* -option2 ne 4
*/
Ne = 5
}