@telefonica/markdown-confluence-sync
Version:
Creates/updates/deletes Confluence pages based on markdown files in a directory. Supports Mermaid diagrams and per-page configuration using frontmatter metadata. Works great with Docusaurus
11 lines (10 loc) • 303 B
JavaScript
// SPDX-FileCopyrightText: 2024 Telefónica Innovación Digital
// SPDX-License-Identifier: Apache-2.0
/**
* Check if the value is a string and not empty
* @param value
* @returns {boolean}
*/
export function isStringWithLength(value) {
return typeof value === "string" && value.length !== 0;
}