Files
fuc-new/doc/node_modules/@vuepress/helper/lib/client/utils/isSlotContentEmpty.d.ts
T
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

12 lines
538 B
TypeScript

import type { SlotContent } from '../typings/index.js';
/**
* Check whether a slot is currently empty.
*
* 检查插槽当前是否为空
*
* @param normalizedSlotContent - The normalized slot content, which should be the results of the slot function / 标准化的插槽内容,应该是插槽函数的结果
*
* @returns True if the slot content is empty, false otherwise / 如果插槽内容为空则返回 true,否则返回 false
*/
export declare const isSlotContentEmpty: (normalizedSlotContent: SlotContent) => boolean;