Skip to main content
Version: Next

is.string

is.string(target: unknown)โ€‹

Specificationโ€‹

  • Target argument: required.
  • Checks if the given "target" type is string.

Informationโ€‹

  • Unit tests: โœ…

// And all other known types will return false

// Reversal boolean result

// And all other known types will return true