Today I came across this piece of code: true <=> false
. I'm a bit confused by it and don't really understand how it works.
If anyone could shed some light on this expression for me, I would greatly appreciate it.
For reference, this code snippet was found in the control page animation section of an ionic 4 project.
export const FeedOut = trigger('state', [
state('false', hiddenStyle),
state('true', showStyle),
transition('true <=> false', animate('300ms ease-in')),
transition(':leave', animate(400, hiddenStyle)),
]);
Thanks in advance!