stringContains function

IEskValidator stringContains(
  1. String str
)

Validates that the String contains str

This validator also validates that the value is a String first So there's no need to add the isString validator when using this validator

Implementation

IEskValidator stringContains(String str) =>
    $isString & (contains(str) > "String to contain ${pretifyValue(str)}");