monaco-editor
Version:
A browser based code editor
12 lines (10 loc) • 626 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
function isManagedHoverTooltipMarkdownString(obj) {
const candidate = obj;
return typeof candidate === 'object' && 'markdown' in candidate && 'markdownNotSupportedFallback' in candidate;
}
// #endregion Managed hover
export { isManagedHoverTooltipMarkdownString };