extracted ToBe interface for String
ToBe interface for double as well