Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isChar

  • isChar(val: string): boolean
  • Checks if the given value is a single char.

    example

    isChar('a'); // true isChar('foo'); // false isChar(1); // false isChar(null); // false

    Parameters

    • val: string

      The value to check.

    Returns boolean

    Whether the value is a single char.

Legend

  • Function

Generated using TypeDoc