Course lesson
Verify if some literal value satisfies a given type
In this lesson you will learn how to verify if some literal value satisfies any given type or not. There are two ways to do this i.e. either by declaring a variable of some given type and assigning it the value or we can use the satisfies keyword. We will...
- Duration
- 1 min
- Access
- Pro
- Transcript
- Available
In this lesson you will learn how to verify if some literal value satisfies any given type or not. There are two ways to do this i.e. either by declaring a variable of some given type and assigning it the value or we can use the satisfies keyword. We will take an example and look at both of the ways in this video.