@azure/msal-node-extensions
Version:
 
16 lines (14 loc) • 431 B
JavaScript
/*! @azure/msal-node-extensions v5.2.2 2026-05-19 */
;
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Returns whether or not the given object is a Node.js error
*/
const isNodeError = (error) => {
return !!error && typeof error === "object" && error.hasOwnProperty("code");
};
export { isNodeError };
//# sourceMappingURL=TypeGuards.mjs.map