MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / range

Function range

apps/OpenSign/src/constant/Utils.js:145–151  ·  view source on GitHub ↗
(start, end, step)

Source from the content-addressed store, hash-verified

143};
144//function for create list of year for date widget
145export const range = (start, end, step) => {
146 const range = [];
147 for (let i = start; i <= end; i += step) {
148 range.push(i);
149 }
150 return range;
151};
152//function for get year
153export const getYear = (date) => {
154 const newYear = new Date(date).getFullYear();

Callers 2

PrefillWidgetModalFunction · 0.85
Utils.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected