Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

permanent

derekdorr9MIT1.0.0

Commonly used javascript constants

readme

Constants

BOOL_FALSE : boolean

The boolean value false

BOOL_TRUE : boolean

The boolean true

INT_NEGATIVE_ONE : number

The integer -1

INT_ONE : number

The integer 1

INT_ZERO : number

The integer 0

NULL : Object

The null value

STR_BOOLEAN : string

The string 'boolean'

STR_CREATE : string

The string 'create'

STR_DELETE : string

The string 'delete'

STR_EMPTY : string

An empty string

STR_FALSE : string

The string 'false'

STR_FUNCTION : string

The string value 'function'

STR_GET : string

The string 'get'

STR_METHOD_DELETE : string

The string 'DELETE'

STR_METHOD_GET : string

The string 'GET'

STR_METHOD_POST : string

The string 'POST'

STR_METHOD_PUT : string

The string 'PUT'

STR_NUMBER : string

The string value 'number'

STR_OBJECT : string

The string value 'object'

STR_POST : string

The string 'post'

STR_PUT : string

The string 'put'

STR_READ : string

The string 'read'

STR_STRING : string

The string value 'string'

STR_TRUE : string

The string value 'true'

STR_UNDEFINED : string

The string value 'undefined'

STR_UPDATE : string

The string 'update'

UNDEF : undefined

The undefined constant

BOOL_FALSE : boolean

The boolean value false

Kind: global constant

BOOL_TRUE : boolean

The boolean true

Kind: global constant

INT_NEGATIVE_ONE : number

The integer -1

Kind: global constant

INT_ONE : number

The integer 1

Kind: global constant

INT_ZERO : number

The integer 0

Kind: global constant

NULL : Object

The null value

Kind: global constant

STR_BOOLEAN : string

The string 'boolean'

Kind: global constant

STR_CREATE : string

The string 'create'

Kind: global constant

STR_DELETE : string

The string 'delete'

Kind: global constant

STR_EMPTY : string

An empty string

Kind: global constant

STR_FALSE : string

The string 'false'

Kind: global constant

STR_FUNCTION : string

The string value 'function'

Kind: global constant

STR_GET : string

The string 'get'

Kind: global constant

STR_METHOD_DELETE : string

The string 'DELETE'

Kind: global constant

STR_METHOD_GET : string

The string 'GET'

Kind: global constant

STR_METHOD_POST : string

The string 'POST'

Kind: global constant

STR_METHOD_PUT : string

The string 'PUT'

Kind: global constant

STR_NUMBER : string

The string value 'number'

Kind: global constant

STR_OBJECT : string

The string value 'object'

Kind: global constant

STR_POST : string

The string 'post'

Kind: global constant

STR_PUT : string

The string 'put'

Kind: global constant

STR_READ : string

The string 'read'

Kind: global constant

STR_STRING : string

The string value 'string'

Kind: global constant

STR_TRUE : string

The string value 'true'

Kind: global constant

STR_UNDEFINED : string

The string value 'undefined'

Kind: global constant

STR_UPDATE : string

The string 'update'

Kind: global constant

UNDEF : undefined

The undefined constant

Kind: global constant