node-lib

@wtasnorg/node-lib


@wtasnorg/node-lib / fieldsSeqString

Function: fieldsSeqString()

fieldsSeqString(s): Generator<string, void, unknown>

Defined in: src/strings.ts:432

FieldsSeq returns an iterator over substrings of s, split around each instance of one or more consecutive white space characters.

Parameters

s

string

Input string.

Returns

Generator<string, void, unknown>

Iterator over whitespace-separated fields.