kubricate / internal/utils / validateString
Function: validateString()
ts
function validateString(value): asserts value is string;
Utility functions for type validation.
Parameters
value
unknown
The value to check.
Returns
asserts value is string
Throws
TypeError if the value is not of the expected type.