MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / isIPv6

Function isIPv6

frontend/src/tools/common.ts:128–130  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

126}
127
128const isIPv6 = (str: string) => {
129 return /\[([0-9a-fA-F:]+)\]/g.test(str);
130};
131
132export const dockerPortsParse = (ports: string[]) => {
133 let joinArr = ports.join(":");

Callers 1

dockerPortsParseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected