How to make a testament in Thailand?

When you own property in Thailand, estate preparation through will is highly suggested. It will therefore be possible to plan the succession of your assets in Thailand in accordance with your will…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Discardable functions

Usually we write a function in our coding languages and have a return value. But sometime we don’t need returned variable in our code.

when we neglect the returned value while calling the function, it shows a warning which is a little bit annoying. as you can see in the picture.

The only thing you need to do is add @discardableResult before that function as shown in the below picture.

Add a comment

Related posts:

Introducing Ecat.media Beta

Today is an exciting day for the Ecat team as we are pleased to announce the release of Ecat.media beta to the public. Ecat allows anyone to encrypt and publish data on the Bitcoin SV blockchain. In…

On the Road

As the FOTP Brain Trust (I’m going, too) drives the 328 miles from Tulsa, Oklahoma to Granbury, Texas on Friday to spend some quality time with company co-founders Sharon Kelly and Gary Popovich (aka…

Las fotos de la semana

En upday recopilamos las mejores imágenes del 26 al 30 de marzo.. “Las fotos de la semana” is published by The upday team in upday ESPAÑA.