Modules

Unicorn

module: Flexberry-javascript-project-template

Constructor

new require("Unicorn")(name)

Creates a new unicorn.

Parameters

Name Type Description
name string

Unicorn name.

Source:

A module representing a unicorn.

Source:

Methods

Name Description
getArt

Gets ASCII art with unicorn portrait.

getName

Gets unicorn name.


getArt() → {string}

Gets ASCII art with unicorn portrait.

Source:

Returns

string

Multiline string (LF eol) with a picture of a unicorn.

getName() → {string}

Gets unicorn name.

Source:

Returns

string

Unicorn name.