Function clonePrimitive

  • Clones a primitive value or an object that implements the PrimitiveValObject interface.

    Type Parameters

    Parameters

    • a: T

      The primitive value to clone.

    Returns T

    A clone of the primitive value or the original value if it is not a primitive.

MMNEPVFCICPMFPCPTTAAATR