xdash / entries
Function: entries()
entries<
T
>(obj
): [keyofT
,T
[keyofT
]][]
Gets the entries of an object.
Type parameters
• T extends object
Parameters
• obj: T
object to check
Returns
[keyof T
, T
[keyof T
]][]
true if the value is a number, false otherwise