MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / keyInObject

Method keyInObject

src/danfojs-base/shared/utils.ts:145–147  ·  view source on GitHub ↗

* Checks if object has the specified key * @param obj The object to check. * @param key The key to find.

(obj: object, key: number | string)

Source from the content-addressed store, hash-verified

143 * @param key The key to find.
144 */
145 keyInObject(obj: object, key: number | string): boolean {
146 return Object.prototype.hasOwnProperty.call(obj, key)
147 }
148
149 /**
150 * Transposes an array of array

Callers 4

getDuplicateMethod · 0.95
createColumnsMethod · 0.80
basicMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected