Variable ComparisonOpsConst
ComparisonOps: {
"!=": {
apply: (a: string | number, b: string | number) => boolean;
strings: true;
};
"<": {
apply: (a: string | number, b: string | number) => boolean;
strings: false;
};
"<=": {
apply: (a: string | number, b: string | number) => boolean;
strings: false;
};
"==": {
apply: (a: string | number, b: string | number) => boolean;
strings: true;
};
">": {
apply: (a: string | number, b: string | number) => boolean;
strings: false;
};
">=": {
apply: (a: string | number, b: string | number) => boolean;
strings: false;
};
} = ...
Type Declaration
-
Readonly!=: { apply: (a: string | number, b: string | number) => boolean; strings: true }
-
Readonly<: { apply: (a: string | number, b: string | number) => boolean; strings: false }
-
Readonly<=: { apply: (a: string | number, b: string | number) => boolean; strings: false }
-
Readonly==: { apply: (a: string | number, b: string | number) => boolean; strings: true }
-
Readonly>: { apply: (a: string | number, b: string | number) => boolean; strings: false }
-
Readonly>=: { apply: (a: string | number, b: string | number) => boolean; strings: false }
stringsmarks the operators that also fold for two strings; the ordering ones do not, as R compares them by locale collation