- Preparing search index...
- The search index is not available
Documentation
Function replaceUrlAsComponents
- replaceUrlAsComponents<T>(originText: string, replacer: ((url: string) => T), strict?: boolean): (string | T)[]
-
Parameters
-
originText: string
-
replacer: ((url: string) => T)
-
- (url: string): T
-
Returns T
-
Optional
strict: boolean
Returns (string | T)[]