Skip to main content


@rnx-kit/tools-language is a collection of supplemental JavaScript functions and types.

You can import the entire package, or, to save space, import individual categories:

import * as tools from "@rnx-kit/tools-language";
propertieshasProperty(obj, property)Returns whether property exists in obj.
propertieskeysOf(obj)Returns the names of the enumerable string properties of an object. Equivalent to calling Object.keys(), but type safe.
propertiespickValues(obj, keys, names)Pick the value for each key property from obj and return each one in a new object. If names are given, use them in the new object, instead of keys.