isBooleanOrEmptyStringtsfunction isBooleanOrEmptyString(x): x is boolean | "" This validator validates that value is either boolean or empty string Parameters ParameterTypexunknown Returns x is boolean | ""