Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lift `??` construct

Tags:

scala

lift

I have browsed lift's MegaProtoUser and encountered this construction: ??("Last Name"). Can anyone explain, what that means?
Thanks for answering

like image 421
ryskajakub Avatar asked Aug 24 '26 23:08

ryskajakub


1 Answers

It's defined on object S:

def ??(str : String)

Get a core lift localized string or return the original string [details]

like image 177
Daniel C. Sobral Avatar answered Aug 26 '26 16:08

Daniel C. Sobral



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!