Skip to content

getPeriod()

getPeriod 获取当前周期。

参考

typescript
() => Period | null

参数

getPeriod 不接收任何参数。

返回值

getPeriod 返回一个包含周期信息的 Period 对象或者 null

用法

基本使用