Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
utilities/string/Interpolator
ISegmentApi
Interface ISegmentApi
Hierarchy
Readonly
<
IInterpolationOptions
>
ISegmentApi
Index
Properties
format
Dates?
format
Numbers?
matched
Ends
random
Methods
format
Value
interpolate
interpolate
String
with
Properties
Optional
Readonly
format
Dates
format
Dates
?:
boolean
Optional
Readonly
format
Numbers
format
Numbers
?:
boolean
matched
Ends
matched
Ends
:
Ends
random
random
:
Random
<
IRandomGenerator
<
any
>
>
Methods
format
Value
format
Value
(
value
:
unknown
)
:
string
|
IStringSection
[]
Parameters
value:
unknown
Returns
string
|
IStringSection
[]
interpolate
interpolate
(
str
:
string
,
...
args
:
any
[]
)
:
IStringSection
[]
Parameters
str:
string
Rest
...
args:
any
[]
Returns
IStringSection
[]
interpolate
String
interpolate
String
(
str
:
string
,
...
args
:
any
[]
)
:
string
Parameters
str:
string
Rest
...
args:
any
[]
Returns
string
with
with
(
options
:
IInterpolationOptions
)
:
ISegmentApi
Parameters
options:
IInterpolationOptions
Returns
ISegmentApi
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
ISegment
Api
format
Dates?
format
Numbers?
matched
Ends
random
format
Value
interpolate
interpolate
String
with
Generated using
TypeDoc