12 lines
538 B
TypeScript
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;
|