Core Library
This is the foundation upon which all the rest of my JS libraries are built. It provides fundamental helper functions and classes.
Properties marked as «Lazy» will be loaded on-demand the first time the property is accessed. All other properties are always loaded.
Classes
Members
(static) AbstractClass
A simple base class for making abstract classes
- Source:
- See:
(static) Functions
A factory for special types of JS function
constructors
- Source:
- See:
(static) arrays :module:@lumjs/core/arrays
Array utility functions «Lazy»
Type:
(static) console :module:@lumjs/core/console
A wrapper around the Javascript console.
Type:
(static) context :module:@lumjs/core/context
Information about the JS context we're running in
Type:
(static) def
Define properties on an object or function
- Source:
- See:
(static) flags :module:@lumjs/core/flags
Functions for working with binary flags «Lazy»
Type:
(static, constant) lazy
Define lazy properties on an object or function
- Source:
- See:
(static) maps :module:@lumjs/core/maps
Map utility functions «Lazy»
Type:
(static) obj :module:@lumjs/core/obj
Functions for manipulating objects «Lazy»
Type:
(static) opt :module:@lumjs/core/opt
Functions for getting values and properties with fallback defaults «Lazy»
Type:
(static) strings :module:@lumjs/core/strings
Functions for working with strings and locales «Lazy»
Type:
(static, constant) types
Constants and functions for type checks and other fundamental functions
- Source:
- See:
Methods
(static) Enum()
Create a magic Enum object «Lazy»
- Source:
- See:
(static) NYI()
Throw an Error
saying that a feature is not yet implemented
- Source:
- See:
(static) observable()
Make an object support the Observable API «Lazy»
- Source:
- See:
(static) randomNumber() → {number}
Generate a large random number.
- Source:
Returns:
- Type
- number
(static) stacktrace()
Get a simplistic debugging stacktrace
- Source:
- See: