Interface Utils

Index

Methods

Methods

public betterTypeOf(input: any): any

Parameters

  • input: any

Returns

any

public dump(value: any): any

Parameters

  • value: any

Returns

any

public fileExt(file: string): any

Parameters

  • file: string

Returns

any

public fillBlanks(text: string, pad: number): any

Parameters

  • text: string
  • pad: number

Returns

any

public format(f: string, args?: Array<any>): any

Parameters

  • f: string
  • args?: Array<any> optional

Returns

any

public getPropertyPath(obj: any, path: string): any

Parameters

  • obj: any
  • path: string

Returns

any

public inherits(ctor: any, superCtor: any): any

Parameters

  • ctor: any
  • superCtor: any

Returns

any

public isArray(value: any): any

Parameters

  • value: any

Returns

any

public isCasperObject(value: any): any

Parameters

  • value: any

Returns

any

public isClipRect(value: any): any

Parameters

  • value: any

Returns

any

public isFalsy(subject: any): any

Parameters

  • subject: any

Returns

any

public isFunction(value: any): any

Parameters

  • value: any

Returns

any

public isJsFile(file: string): any

Parameters

  • file: string

Returns

any

public isNull(value: any): any

Parameters

  • value: any

Returns

any

public isNumber(value: any): any

Parameters

  • value: any

Returns

any

public isObject(value: any): any

Parameters

  • value: any

Returns

any

public isRegExp(value: any): any

Parameters

  • value: any

Returns

any

public isString(value: any): any

Parameters

  • value: any

Returns

any

public isTruthy(subject: any): any

Parameters

  • subject: any

Returns

any

public isType(what: any, type: string): any

Parameters

  • what: any
  • type: string

Returns

any

public isUndefined(value: any): any

Parameters

  • value: any

Returns

any

public isWebPage(what: any): any

Parameters

  • what: any

Returns

any

public mergeObjects(origin: any, add: any): any

Parameters

  • origin: any
  • add: any

Returns

any

public node(name: string, attributes: any): any

Parameters

  • name: string
  • attributes: any

Returns

any

public serialize(value: any): any

Parameters

  • value: any

Returns

any

public unique(array: Array<any>): any

Parameters

  • array: Array<any>

Returns

any