Glob | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Glob

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Glob(text: string): Glob

Properties

glob

glob: Array<string>

regexp

regexp: RegExp

text

text: string

Methods

matches

  • matches(name: string): boolean

Static fromString

  • fromString(text: string): Glob
  • Returns a glob from the string, or null if the string isn't Glob-like

    Parameters

    • text: string

    Returns Glob

Static is

  • is(text: string): boolean
  • Returns true if the string has glob-like characters in it

    Parameters

    • text: string

    Returns boolean

Generated using TypeDoc