common_predicates | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

External module common_predicates

Predicates @module common_predicates

Index

Variables

isArray: isArray
isDefined: (Anonymous function)
isFunction: (Anonymous function)
isNumber: (Anonymous function)
isPromise: Function

Predicate which checks if a value looks like a Promise

Predicate which checks if a value looks like a Promise

It is probably a Promise if it's an object, and it has a then property which is a Function

isString: (Anonymous function)
isUndefined: (Anonymous function)
toStr: toString

Functions

  • isDate(x: any): boolean
  • isInjectable(val: any): boolean
  • Predicate which checks if a value is injectable

  • Predicate which checks if a value is injectable

    A value is "injectable" if it is a function, or if it is an ng1 array-notation-style array where all the elements in the array are Strings, except the last one, which is a Function

    Parameters

    • val: any

    Returns boolean


  • isNull(o: any): boolean
  • isObject(x: any): boolean
  • isRegExp(x: any): boolean
  • tis(t: any): (Anonymous function)

Generated using TypeDoc