Skip to content

Tankōbon / shared/articles / parseArticleList

Function: parseArticleList() ​

parseArticleList(text): string[] | null

Defined in: shared/articles.ts:71

Reads what the user typed (articles separated by commas): spaces around each are dropped, empty ones and duplicates (ignoring case) removed. Returns null when an article is unusable or there are too many.

Parameters ​

text ​

string

Returns ​

string[] | null