isNullType(t: Type): Boolean 入力が Null 型の場合は true を返します。 DataWeave バージョン 2.3.0 で導入されました。 パラメーター 名前 説明 t チェックするデータ型。 例 次の例では、さまざまな入力での isNullType の動作を示します。 ソース %dw 2.0 import * from dw::core::Types type ANull = Null output application/json --- { a: isNullType(ANull), b: isNullType(Null), c: isNullType(String), } 出力 { "a": true, "b": true, "c": false }
isNullType(t: Type): Boolean 入力が Null 型の場合は true を返します。 DataWeave バージョン 2.3.0 で導入されました。 パラメーター 名前 説明 t チェックするデータ型。 例 次の例では、さまざまな入力での isNullType の動作を示します。 ソース %dw 2.0 import * from dw::core::Types type ANull = Null output application/json --- { a: isNullType(ANull), b: isNullType(Null), c: isNullType(String), } 出力 { "a": true, "b": true, "c": false }