UNPKG

@antv/util

Version:

> AntV 底层依赖的工具库,不建议在自己业务中使用。

8 lines (5 loc) 139 B
const RADIAN = Math.PI / 180; const toRadian = function (degree: number): number { return RADIAN * degree; }; export default toRadian;