@yookue/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']);