];
} /**
* @param array<string, string> $renderedField
* @param array<string, mixed> $customFields
*/
public static function match(array
$renderedField, string|int|bool|null|float
$renderedFieldValue, string
$operator, array
$customFields): bool
{ $actual = self::
getValue($customFields,
$renderedField);
$expected = self::
getExpectedValue($renderedFieldValue,
$renderedField);
if ($actual === null
) { if ($operator === Rule::OPERATOR_NEQ
) { return $actual !==
$expected;
} return false;
} if (self::
isFloat($renderedField)) { return self::
floatMatch($operator,
(float) $actual,
(float) $expected);
}