Function objDeepFreeze

  • Perform a deep freeze on the object and all of it's contained values / properties by recursively calling objFreeze() on all enumerable properties of the object and on each property returned.

    Type Parameters

    • T

    Parameters

    • value: T

      the object to be completly frozen.

    Returns T

    The originally passed in object.