toBeString

Bun

Symbol

MatchersBuiltin.toBeString

toBeString(): void

Asserts that a value is a string.

expect("foo").toBeString();
expect(new String("bar")).toBeString();
expect(123).not.toBeString();