Skip to content

Assert that a value is a single non-empty string

Usage

.assert_scalar_string(x, name)

Arguments

x

Value to check.

name

Argument name for the error message.