Validate a value is a string and it matches the given expression.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

expression: RegExp
typeOf: string

Methods

  • Returns string

  • Parameters

    • u: unknown

    Returns u is string

Generated using TypeDoc