@unikue/ts-lang-utils
    Preparing search index...

    Function cloneExclusive

    • Returns an object that cloned from the given object, excludes all the given keys

      Parameters

      • Optionalsource: object

        The object to clone

      • Optionalkeys: string[]

        The key names to exclude

      Returns undefined | object

      an object that cloned from the given object, excludes all the given keys

      David Hsing

      cloneExclusive({'foo': 'bar'}, ['foo']);