Function clone

  • 对象拷贝

    Returns

    Type Parameters

    • C

    Parameters

    • origin: C
    • mode: CloneMode = 'deep'

      分为 deep: 深拷贝, shallow: 浅拷贝, json: 序列化拷贝 default is deep

    Returns C

Generated using TypeDoc