(data: object)
| 68 | |
| 69 | // the keys deleting undeclared ones reads |
| 70 | const deletableKeysOf = (data: object): (string | symbol)[] => [ |
| 71 | ...Object.keys(data), |
| 72 | ...Object.getOwnPropertySymbols(data) |
| 73 | ] |
| 74 | |
| 75 | export const isDeletableKeyOf = (data: object, k: string | symbol): boolean => |
| 76 | typeof k === "symbol" ? |
no outgoing calls
no test coverage detected