Polyv Help Center

Help Center

Function: hasSlots()

Updated: 2025-10-10 12:02:04

Polyv Wx Live Player Component


Polyv Wx Live Player Component / utils / hasSlots

Function: hasSlots()

hasSlots(slots, name): boolean

Determines whether a specific named slot currently exists.

Parameters

slots

any

The slots

name

string

The name of the named slot

Returns

boolean

联系客服,在线咨询