---
requireNotNull(a as? String)
               | |
               | null
               1
---
---
checkNotNull(a as? String)
             | |
             | null
             1
---
---OK---
---OK---
---OK---
