blob: 0b5f95f025352943d51980de5e5ee1a04ec1c447 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001/*!
2 * for-in <https://github.com/jonschlinkert/for-in>
3 *
4 * Copyright (c) 2014-2017, Jon Schlinkert.
5 * Released under the MIT License.
6 */
7
8'use strict';
9
10module.exports = function forIn(obj, fn, thisArg) {
11 for (var key in obj) {
12 if (fn.call(thisArg, obj[key], key, obj) === false) {
13 break;
14 }
15 }
16};