409
410
public static equals(a: ExtensionIdentifier | string | null | undefined, b: ExtensionIdentifier | string | null | undefined) {
411
>
if (typeof a === 'undefined' || a === null) {
extensions.ts
412
return (typeof b === 'undefined' || b === null);
413
}
414
>
if (typeof b === 'undefined' || b === null) {
extensions.ts
415
return false;
416
}
417
>
if (typeof a === 'string' || typeof b === 'string') {
extensions.ts
418
// At least one of the arguments is an extension id in string form,
419
// so we have to use the string comparison which ignores case.