我一直在使用isNothing
,从Esqueleto
,但现在我想只是测试,如果它是not null
,我注意到,没有isJust
,我想知道它是不存在的原因,有什么事情我想达到类似的效果: isJust (a ^. MyEntityMyField)
你不能自己定义吗?
isJust = not_ . isNothing
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.