Utils

core. Utils

Miscellaneous utility functions for use throughout the application

Constructor

new Utils()

Source:

Members

(static) metadataFileName

Description:
  • The name of the file used for defining Adapt authoring tool metadata
Source:
The name of the file used for defining Adapt authoring tool metadata

(static) packageFileName

Description:
  • The name of the Node.js package file
Source:
The name of the Node.js package file

Methods

(static) getArgs() → {Object}

Description:
  • Returns the passed arguments, parsed by minimist for easy access
Source:
See:
Returns:
The parsed arguments
Type
Object

(static) isObject() → {Boolean}

Description:
  • Determines if param is a Javascript object (note: returns false for arrays, functions and null)
Source:
Returns:
Type
Boolean