Type alias AssertTypeofString
AssertTypeofString: ((specimen, typename, optDetails?) => asserts specimen is string)
Type declaration
- (specimen, typename, optDetails?): asserts specimen is string
Parameters
specimen: any
typename: "string"
Optional
optDetails: Details
Returns asserts specimen is string