Apr-04-2020, 10:57 PM
Thank you so much for the reply, ndc85430.
If the mechanism is based on duck typing, does isnan() do below?
- First, isnan() checks if the argument object has all required methods as array
- if it does, it creates a new instance with the constructor of the argument’s class
- it puts the results into the new instance with those those methods and returns it
Are there any example codes?
If the mechanism is based on duck typing, does isnan() do below?
- First, isnan() checks if the argument object has all required methods as array
- if it does, it creates a new instance with the constructor of the argument’s class
- it puts the results into the new instance with those those methods and returns it
Are there any example codes?