# How to call a domain logic function inside implementation ?

grab the domain logic class & call the respective function passing the input.


For example: to call lotteryNameExists function defined inside Lottery domain logic:

Smile.grab[LotteryDomainLogic].lotteryNameExists("metastay")