Type Alias Values<Tinput, Toptions>

Values<Tinput, Toptions>: KeysOrValues<Tinput, Toptions, false>

Returns either or both A) the InsideValues (i.e Nested Values) along with B) PropsValues of the Tinput, based on the KeysOptions passed.

Follows closely the values() function, within the limitations of JS/TS ;-)

Type Parameters

  • Tinput

    The input value, whose values are to be extracted.

  • Toptions extends IKeysOptions

    The IKeysOptions to be used for extracting the values.

KeysOrValues which is the main type utility 'function' that does the work.

the InsideValues (i.e Nested Values for IsNestingObject) and/or PropsValues of the Tinput, based on the KeysOptions passed (not as an Array, but a plain type).