Add components

This commit is contained in:
2025-09-29 11:24:36 +02:00
parent 6d1050c6cb
commit 620d4144b5
3748 changed files with 902194 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/**
* @param {Comment} node
* @returns {boolean}
*/
const isJSDocComment = (node) =>
node.type === 'Block' &&
node.value.charAt(0) === '*' &&
node.value.charAt(1) !== '*'
/**
* @param {Comment} node
* @returns {boolean}
*/
const isBlockComment = (node) =>
node.type === 'Block' &&
(node.value.charAt(0) !== '*' || node.value.charAt(1) === '*')
module.exports = {
isJSDocComment,
isBlockComment
}