Function cloneTypedArray

  • Clones a typed array. If deep is false (default) the clone will be shallow. Otherwise structuredClone is used.

    Returns

    The new array

    See

    clone

    Parameters

    • typedArray: any
    • isDeep: boolean = false

    Returns any

Generated using TypeDoc