Preparing search index...
The search index is not available
sdk-v2
sdk-v2
@zeitgeistpm/utility
time
toMs
Function toMs
to
Ms
(
time
:
ChainTime
, timeSpan
:
Timespan
)
:
number
Get the duration of a timespan in milliseconds.
Returns
number
Parameters
time:
ChainTime
ChainTime
timeSpan:
Timespan
Timespan
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
sdk-
v2
@zeitgeistpm/indexer
@zeitgeistpm/rpc
@zeitgeistpm/sdk
@zeitgeistpm/utility
aeither
array
assert
async
btreemap
codec
either
error
function
infinity
null
object
observable
option
pfunc
task
taskeither
time
ztg
@zeitgeistpm/web3.storage
IPFS
Local
Storage
Memory
Block
Timespan
Chain
Time
Date
Timespan
Duration
Duration
Period
Timespan
as
Block
as
Blocks
as
Ms
block
Date
blocks
To
Dates
date
Block
dates
To
Blocks
from
is
Blocks
is
Dates
is
Duration
to
Ms
Generated using
TypeDoc
Get the duration of a timespan in milliseconds.
Returns
number