UNPKG

arcade-physics

Version:
20 lines 824 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns a new object that only contains the `keys` that were found on the object provided. * If no `keys` are found, an empty object is returned. * * @function Phaser.Utils.Objects.Pick * @since 3.18.0 * * @param {object} object - The object to pick the provided keys from. * @param {array} keys - An array of properties to retrieve from the provided object. * * @return {object} A new object that only contains the `keys` that were found on the provided object. If no `keys` were found, an empty object will be returned. */ declare const Pick: (object: any, keys: any) => {}; export default Pick; //# sourceMappingURL=Pick.d.ts.map