Assert that input is an object whose own properties all have string values.
input
assertIsStringRecord({ a: '1', b: '2' }); // does not throwassertIsStringRecord({ a: 1 }); // throws TypeError: input is not a string record Copy
assertIsStringRecord({ a: '1', b: '2' }); // does not throwassertIsStringRecord({ a: 1 }); // throws TypeError: input is not a string record
Assert that
inputis an object whose own properties all have string values.