Skip to content

Clarify util.types.isExternal #20604

Description

@jdalton

It doesn't look like there are any unit tests for util.types.isExternal.

I was hoping the docs had a usage example but couldn't find one.

Update:

Found a unit test:

const { JSStream } = process.binding('js_stream');
const external = (new JSStream())._externalStream;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues asking questions about Node.js.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions