StaticassertStaticassertAsserts that a given value is not a string.
Value to check.
StaticbuildBuilds value error.
The invalid value.
The expected type name.
OptionalisNot: boolean = falseWhether the error should be for !${typeName}.
The created error.
StaticendsStaticgetGets the article for the given word.
Word to get the article for.
The article for the word.
StaticisStaticisStaticisStaticisType guard to check if a value is not a string.
The value to check.
true if the value is not a string; otherwise, false.
StaticisType guard to check if a value is a NonEmptyString<T>.
The value to check.
true if the value is a not empty string; otherwise, false.
StaticisType guard to check if a value is not a NumberString.
The value to check.
true if the value is not a numeric string; otherwise, false.
StaticisStaticisStaticstarts
The
StringCoreclass provides utility functions for string type checks and assertions.Since
v1.0.2