core / const
valueIsNonSignalString
Checks whether a value is a non-signal of type string.
Checks whether a value is a non-signal of type string.
Signature
export const valueIsNonSignalString = (input: any): boolean =>
valueIsNonSignalObject(input, ["string"]);
Parameters
input: Any value to check
Returns
true if the value is a non-signal with a string value,
false otherwise
Remarks
- Returns false for plain strings (not wrapped in non-signal)
See Also
- NonSignal - For non-signal type
- valueIsNonSignalObject - For the general non-signal checker