Function safeKeyIterator
- safeKeyIterator(
 data: object,
 options?: { arrayIndex?: boolean; hasOwnOnly?: boolean },
 ): IterableIterator<string>Parameters- data: objectAn object to traverse for accessor keys. 
- Optionaloptions: { arrayIndex?: boolean; hasOwnOnly?: boolean }- Options. - OptionalarrayIndex?: boolean- Set to - falseto exclude safe keys for array indexing; default:- true.
- OptionalhasOwnOnly?: boolean- Set to - falseto include enumerable prototype properties; default:- true.
 
 Returns IterableIterator<string>Safe key iterator. 
- data: object
Returns an iterator of safe keys useful with safeAccess and safeSet by traversing the given object.
Note: Keys are only generated for JSON objects; Map and Set are not indexed.