UNPKG

@haystacks/async

Version:

A framework to build any number or any kind of native application or automation solution.

27 lines (23 loc) 1.21 kB
/** * @file application.business.constants.js * @module application.business.constants * @description A file to hold all of the client application business rules constants. * So none of the constants in this file should be generic/system/framework constants. * @requires {@link https://www.npmjs.com/package/@haystacks/constants|@haystacks/constants} * @author Seth Hollingsead * @date 2022/02/08 * @copyright Copyright © 2022-… by Seth Hollingsead. All rights reserved */ // External imports import hayConst from '@haystacks/constants'; const {num, wrd} = hayConst; // Client Business Rules export const cclientEcho = wrd.cclient + wrd.cEcho; // clientEcho // ******************************** // ClientStringParsing rules in order // ******************************** export const ccustomEcho = wrd.ccustom + wrd.cEcho; // customEcho export const cmostPopularNumber = wrd.cmost + wrd.cPopular + wrd.cNumber; // mostPopularNumber export const cisAlmostPalindrome = wrd.cis + wrd.cAlmost + wrd.cPalindrome; // isAlmostPalindrome export const cthreePointAverage = num.cthree + wrd.cPoint + wrd.cAverage; // threePointAverage export const carrayCounter = wrd.carray + wrd.cCounter; // arrayCounter