In Angular 6, a style function is used to declare a key or valuable object which contains CSS properties and or styles that shall be used in an animation state or sequence. It can be used within styling data for calls to animate and keyframes.

BY Best Interview Question ON 14 Feb 2020