Skip to main content

isFormattedString

Overload 1

export function isFormattedString(checkFormat: CheckFormat): Check<string>

Arguments

NameTypeDescription
checkFormatCheckFormat

Return value

Check<string>

Overload 2

export function isFormattedString(
  input: unknown,
  checkFormat: CheckFormat
): unknown

Arguments

NameTypeDescription
inputunknown
checkFormatCheckFormat

Return value

unknown

Overload 3

export function isFormattedString(
  input: unknown,
  checkFormat: CheckFormat,
  onFalse: NotifyOnFalse
): unknown

Arguments

NameTypeDescription
inputunknown
checkFormatCheckFormat
onFalseNotifyOnFalse

Return value

unknown