(id, name)
| 91 | } |
| 92 | |
| 93 | function validateId(id, name) { |
| 94 | if (typeof id === 'number') { |
| 95 | validateUint32(id, name); |
| 96 | } else if (typeof id !== 'string') { |
| 97 | throw new ERR_INVALID_ARG_TYPE(name, ['number', 'string'], id); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | return { |
| 102 | initgroups, |
no outgoing calls
no test coverage detected
searching dependent graphs…