MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / splitByURL

Function splitByURL

tensorboard/webapp/util/string.ts:120–124  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

118 * ]
119 */
120export function splitByURL(text: string): {isURL: boolean; text: string}[] {
121 return splitByRegex(text, LINKIFY_URL_REGEX).map(({matchesRegex, text}) => {
122 return {isURL: matchesRegex, text};
123 });
124}

Callers 1

string_test.tsFile · 0.90

Calls 1

splitByRegexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…