For the complete documentation index, see llms.txt. This page is also available as Markdown.

getPorts()

Retrieves all ports according to the current SDK settings.

getPorts()

Return Value

number[] or Buffer (binding dependent) : All ports according to the current SDK settings.

Example

// example

const arr = sdk.getPorts();
console.log(arr);

Last updated

Was this helpful?