Skip to content

object

Utilities in the object category.

  • entries — Returns the enumerable own property [key, value] pairs of an object with preserved key and value types.
  • get — Safely gets a nested value from an object using a dot-separated path with full TypeScript type safety.
  • has — Checks whether a nested value exists at a given dot-separated path in an object with full TypeScript type safety.