@slightning/anything-to-string
Version:
Converts anything to a string.
107 lines (106 loc) • 3.96 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAXIMUM = exports.MAJOR = exports.LESSER = exports.MINIMUM = void 0;
const null_1 = require("./null");
const undefined_1 = require("./undefined");
const basic_string_1 = require("./basic-string");
const basic_number_1 = require("./basic-number");
const basic_boolean_1 = require("./basic-boolean");
const string_1 = require("./string");
const number_1 = require("./number");
const boolean_1 = require("./boolean");
const reg_exp_1 = require("./reg-exp");
const symbol_1 = require("./symbol");
const bigint_1 = require("./bigint");
const set_1 = require("./set");
const map_1 = require("./map");
const weak_ref_1 = require("./weak-ref");
const error_1 = require("./error");
const html_element_1 = require("./html-element");
const array_1 = require("./array");
const object_1 = require("./object");
const function_1 = require("./function");
exports.MINIMUM = [
new null_1.NullRule(),
new undefined_1.UndefinedRule(),
new basic_string_1.MinimumBasicStringRule(),
new basic_number_1.MinimumBasicNumberRule(),
new basic_boolean_1.MinimumBasicBooleanRule(),
new string_1.MinimumStringRule(),
new number_1.MinimumNumberRule(),
new boolean_1.MinimumBooleanRule(),
new reg_exp_1.MinimumRegExpRule(),
new symbol_1.MinimumSymbolRule(),
new bigint_1.MinimumBigIntRule(),
new set_1.MinimumSetRule(),
new map_1.MinimumMapRule(),
new weak_ref_1.MinimumWeakRefRule(),
new error_1.MinimumErrorRule(),
new html_element_1.MinimumHTMLElementRule(),
new array_1.MinimumArrayRule(),
new object_1.MinimumObjectRule(),
new function_1.MinimumFunctionRule()
];
exports.LESSER = [
new null_1.NullRule(),
new undefined_1.UndefinedRule(),
new basic_string_1.LesserBasicStringRule(),
new basic_number_1.LesserBasicNumberRule(),
new basic_boolean_1.LesserBasicBooleanRule(),
new string_1.LesserStringRule(),
new number_1.LesserNumberRule(),
new boolean_1.LesserBooleanRule(),
new reg_exp_1.LesserRegExpRule(),
new symbol_1.LesserSymbolRule(),
new bigint_1.LesserBigIntRule(),
new set_1.LesserSetRule(),
new map_1.LesserMapRule(),
new weak_ref_1.LesserWeakRefRule(),
new error_1.LesserErrorRule(),
new html_element_1.LesserHTMLElementRule(),
new array_1.LesserArrayRule(),
new object_1.LesserObjectRule(),
new function_1.LesserFunctionRule()
];
exports.MAJOR = [
new null_1.NullRule(),
new undefined_1.UndefinedRule(),
new basic_string_1.MajorBasicStringRule(),
new basic_number_1.MajorBasicNumberRule(),
new basic_boolean_1.MajorBasicBooleanRule(),
new string_1.MajorStringRule(),
new number_1.MajorNumberRule(),
new boolean_1.MajorBooleanRule(),
new reg_exp_1.MajorRegExpRule(),
new symbol_1.MajorSymbolRule(),
new bigint_1.MajorBigIntRule(),
new set_1.MajorSetRule(),
new map_1.MajorMapRule(),
new weak_ref_1.MajorWeakRefRule(),
new error_1.MajorErrorRule(),
new html_element_1.MajorHTMLElementRule(),
new array_1.MajorArrayRule(),
new object_1.MajorObjectRule(),
new function_1.MajorFunctionRule()
];
exports.MAXIMUM = [
new null_1.NullRule(),
new undefined_1.UndefinedRule(),
new basic_string_1.MaximumBasicStringRule(),
new basic_number_1.MaximumBasicNumberRule(),
new basic_boolean_1.MaximumBasicBooleanRule(),
new string_1.MaximumStringRule(),
new number_1.MaximumNumberRule(),
new boolean_1.MaximumBooleanRule(),
new reg_exp_1.MaximumRegExpRule(),
new symbol_1.MaximumSymbolRule(),
new bigint_1.MaximumBigIntRule(),
new set_1.MaximumSetRule(),
new map_1.MaximumMapRule(),
new weak_ref_1.MaximumWeakRefRule(),
new error_1.MaximumErrorRule(),
new html_element_1.MaximumHTMLElementRule(),
new array_1.MaximumArrayRule(),
new object_1.MaximumObjectRule(),
new function_1.MaximumFunctionRule()
];