zibri
    Preparing search index...

    Class ObjectUtilitiesAbstract

    Utilities for handling objects.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Resolves the KeyValue entries of the given object.

      Type Parameters

      • T extends object

      Parameters

      • obj: T

        The object to get the entries from.

      Returns [Extract<keyof T, string>, T[Extract<keyof T, string>]][]

      An array of tuples of the key and the value of the objects properties.

    • Gets the correctly typed keys for the given object.

      Type Parameters

      • T extends object

      Parameters

      • obj: T

        The object to get the keys from.

      Returns Extract<keyof T, string>[]

      The correctly typed keys as an array.

    • Resolves the values of the given object.

      Type Parameters

      • T extends object

      Parameters

      • obj: T

        The object to get the values from.

      Returns T[keyof T][]

      An array of all values of the objects properties.