MCPcopy Index your code
hub / github.com/plotly/dash / tokenize

Function tokenize

components/dash-core-components/src/utils/dropdownSearch.ts:14–19  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

12const REGEX = /\s+/;
13const TOKENIZER = {
14 tokenize(text: string) {
15 return text.split(REGEX).filter(
16 // Filter empty tokens
17 text => text
18 );
19 },
20};
21
22export interface SanitizedOptions {

Callers

nothing calls this directly

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…