clone

fun clone(credit: Credit? = definedExternally): Credit(source)

Duplicates a Credit instance.

Return

A new Credit instance that is a duplicate of the one provided. (Returns undefined if the credit is undefined)

Parameters

credit

The Credit to duplicate.

See also