Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace utils

Index

Namespaces

Classes

Functions

Functions

isUrl

  • isUrl(url: string): boolean
  • 判断是否为 URL 链接

    Parameters

    • url: string

    Returns boolean

renderString

  • renderString(template: string, data: any, name: string): any
  • 渲染 ES6 字符串

    Parameters

    • template: string

      字符串模版

    • data: any

      数据

    • name: string

      参数名称

    Returns any

Generated using TypeDoc