MtoBeString
Bun

method

test.Matchers.toBeString

toBeString(): void;

Asserts that a value is a string.

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