blockly > FieldImage > doClassValidation_

FieldImage.doClassValidation_() 方法

請確認輸入值 (來源網址) 為字串。

Signature:

protected doClassValidation_(newValue?: any): string | null;

參數

參數 類型 說明
newValue 不限 (選用) 輸入值。

傳回:

字串 | 空值

字串;如果無效,則傳回空值。