@@ -613,7 +613,7 @@ def IsNull(cls, variable, value):
613
613
614
614
Args:
615
615
variable (str): Path to the variable to compare.
616
- value (bool): Whether the value at variable is equal to the JSON literal null or not.
616
+ value (bool): Whether the value at ` variable` is equal to the JSON literal null or not.
617
617
618
618
Returns:
619
619
Rule: Rule with `IsNull` operator.
@@ -627,7 +627,7 @@ def IsPresent(cls, variable, value):
627
627
628
628
Args:
629
629
variable (str): Path to the variable to compare.
630
- value (bool): Whether a field at variable exists in the input or not.
630
+ value (bool): Whether a field at ` variable` exists in the input or not.
631
631
632
632
Returns:
633
633
Rule: Rule with `IsPresent` operator.
@@ -641,7 +641,7 @@ def IsString(cls, variable, value):
641
641
642
642
Args:
643
643
variable (str): Path to the variable to compare.
644
- value (bool): Whether the value at variable is a string or not.
644
+ value (bool): Whether the value at ` variable` is a string or not.
645
645
646
646
Returns:
647
647
Rule: Rule with `IsString` operator.
@@ -655,7 +655,7 @@ def IsNumeric(cls, variable, value):
655
655
656
656
Args:
657
657
variable (str): Path to the variable to compare.
658
- value (bool): Whether the value at variable is a number or not.
658
+ value (bool): Whether the value at ` variable` is a number or not.
659
659
660
660
Returns:
661
661
Rule: Rule with `IsNumeric` operator.
@@ -669,7 +669,7 @@ def IsTimestamp(cls, variable, value):
669
669
670
670
Args:
671
671
variable (str): Path to the variable to compare.
672
- value (bool): Whether the value at variable is a timestamp or not.
672
+ value (bool): Whether the value at ` variable` is a timestamp or not.
673
673
674
674
Returns:
675
675
Rule: Rule with `IsTimestamp` operator.
@@ -683,7 +683,7 @@ def IsBoolean(cls, variable, value):
683
683
684
684
Args:
685
685
variable (str): Path to the variable to compare.
686
- value (bool): Whether the value at variable is a boolean or not.
686
+ value (bool): Whether the value at ` variable` is a boolean or not.
687
687
688
688
Returns:
689
689
Rule: Rule with `IsBoolean` operator.
@@ -697,7 +697,9 @@ def StringMatches(cls, variable, value):
697
697
698
698
Args:
699
699
variable (str): Path to the variable to compare.
700
- value (bool): Constant value to compare `variable` against.
700
+ value (str): A string pattern that may contain one or more `*` characters to compare the value at `variable` to.
701
+ The `*` character can be escaped using two backslashes.
702
+ The comparison yields true if the variable matches the pattern, where `*` is a wildcard that matches zero or more characters.
701
703
702
704
Returns:
703
705
Rule: Rule with `StringMatches` operator.
0 commit comments