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