degreesToRadians

degreesToRadians converts degrees to radians.

Import

import { degreesToRadians } from '@popmotion/popcorn';

Usage

degreesToRadians(45) // 0.785...

Types

degreesToRadians(degrees: number): number;