Skip to content

Clarify util.types.isExternal #20604

@jdalton

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions