• 判断是否有class 必须全都存在才为true

    Parameters

    • target: HTMLElement
    • className: string | string[]

    Returns boolean