MCPcopy Create free account
hub / github.com/effect-app/libs / split

Method split

packages/effect-app/src/builtin.ts:12–12  ·  view source on GitHub ↗

* Split a string into substrings using the specified separator and return them as an array. * @param splitter An object that can split a string. * @param limit A value used to limit the number of elements returned in the array.

(splitter: { [Symbol.split](string: string, limit?: number): string[] }, limit?: number)

Source from the content-addressed store, hash-verified

10 * @param limit A value used to limit the number of elements returned in the array.
11 */
12 split(splitter: { [Symbol.split](string: string, limit?: number): string[] }, limit?: number): [string, ...string[]]
13
14 /**
15 * Split a string into substrings using the specified separator and return them as an array.

Callers 15

query.test.tsFile · 0.65
matchForFunction · 0.65
RequestContextMiddlewareFunction · 0.65
getAuthorizationTokenFunction · 0.65
getFunction · 0.65
isRelationCheckFunction · 0.65
codeFilter3__Function · 0.65
query.tsFile · 0.65
dottedToJsonPathFunction · 0.65
fieldExprFunction · 0.65
dottedToAccessFunction · 0.65
statementFunction · 0.65

Implementers 1

ChunkedMessagerepos/effect/packages/effect/src/unsta

Calls

no outgoing calls

Tested by 7

maxLineLengthCheckFunction · 0.52
execMethod · 0.52
pathFromSequenceFunction · 0.52
parseTerrainFunction · 0.52
toFramesFunction · 0.52
toRawFramesFunction · 0.52