validateFD
validateFD(
fd):void
Defined in: src/utils.ts:65
Internal
Checks that fd is in the range Node accepts for a file descriptor.
Note this throws a RangeError rather than an Exception, since that is what Node does.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void