首页 > 其他 > 详细

typeof , typenameof

时间:2019-03-06 13:14:46      阅读:188      评论:0      收藏:0      [点我收藏+]

$typeof() returns a type derived from its argument, this function is used to assign or ovrride a type parameter, or in a comparison with another $typeof, and evaluated during elaboration. so, it‘s usually used in generate block.

$typename() returns a string that represents the resolved type of its argument.

typeof , typenameof

原文:https://www.cnblogs.com/lybinger/p/10482230.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!