i'd use `Array.isArray(options.stdio)`.