Function clone

  • Creates a shallow clone of value. If deep is true it will clone it recursively.

    Returns

    The clone value

    See

    Type Parameters

    • T

    Parameters

    • value: T
    • Optional deep: boolean

    Returns T

  • Type Parameters

    • T

    Parameters

    • value: T[]
    • Optional deep: boolean

    Returns T[]

Generated using TypeDoc