method
test.MatchersBuiltin.toBeString
Asserts that a value is a string.
expect("foo").toBeString();
expect(new String("bar")).toBeString();
expect(123).not.toBeString();method
Asserts that a value is a string.
expect("foo").toBeString();
expect(new String("bar")).toBeString();
expect(123).not.toBeString();