Convention: {
    is: ((str) => boolean);
    to: ((str) => string);
}

Convention is an object with a to function that takes a string and returns a string, and an is function that takes a string and returns a boolean.

Type declaration

  • is: ((str) => boolean)
      • (str): boolean
      • Parameters

        • str: string

        Returns boolean

  • to: ((str) => string)
      • (str): string
      • Parameters

        • str: string

        Returns string

Generated using TypeDoc