• The calling method needs a return type annotation.

    主调用的方法必须有一个返回类型的注解。

    youdao

  • You can also explicitly specify the return value of a function by providing a type annotation after all the parameters.

    也可以通过在所有参数后面指定类型批注,从而显式指定函数的返回类型。

    youdao

  • Describes the concept of type annotation and how to use it in a function definition to control the input and output data types.

    描述类型批注的概念,以及如何在函数定义中使用它来控制输入和输出数据类型。

    youdao

  • A common case where a type annotation is useful on a parameter is when the parameter is an object type and you want to use a member.

    类型批注对于参数很有用的一种常见情况是:参数是一个对象类型,而您需要使用一个成员。

    youdao

  • Declaring a variable or constant with type annotation ensures that the variable or constant stores only data of the appropriate type.

    用类型批注声明变量或常数可确保此变量或常数只存储适当类型的数据。

    youdao

  • Declaring a variable or constant with type annotation ensures that the variable or constant stores only data of the appropriate type.

    用类型批注声明变量或常数可确保此变量或常数只存储适当类型的数据。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定