函数返回

函數返回
hánshù fǎnhuí
phrase

Meanings

  1. 1 function return
  2. 2 function returns (a value)

Examples

HSK 7-9
Zhège hánshù fǎnhuí yí gè zìfúchuàn.
This function returns a string.
HSK 7-9
如果函数返回null,程序报错
Rúguǒ hánshù fǎnhuí null, chéngxù huì bàocuò.
If the function returns null, the program will throw an error.

Tips

grammar
Often seen as 函数返回值 = 'function return value'. 返回 alone can be verb 'to return' or noun 'the return'; context disambiguates.

Stroke Order

hán
shù
fǎn
huí