temporal-fns
GitHub
npm
Preparing search index...
isSameYear
Function isSameYear
isSameYear
(
a
:
TemporalWithYearMonth
,
b
:
TemporalWithYearMonth
)
:
boolean
Returns
true
when
a
and
b
are in the same calendar year.
Parameters
a
:
TemporalWithYearMonth
b
:
TemporalWithYearMonth
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
temporal-fns
Loading...
Returns
truewhenaandbare in the same calendar year.