Navigation : Envision Language Lokad Platform Envision Gallery Envision Reference- Glossary- Tile syntax- List of icons- StyleCode sub-language - _ - A-B-C-- abs-- actionrwd.dampen-- actionrwd.demand-- actionrwd.reward-- actionrwd.segment-- all-- and-- any-- areSame-- argfirst-- arglast-- argmax-- argmin-- arground-- argwhichever-- assert-- assertfail-- assoc.quantity-- auto-- autodiff-- avg-- barchart-- Built-in Tables-- by-- canonical-- cdf-- ceiling-- changed-- chart-- complement-- concat-- connected-- const-- constant-- contains-- containsAny-- containsCount-- cos-- count-- cross-- crps-- cumsub-- cumsum-- currentDashUrl - D-E-F - G-H-I - J-K-L - M-N-O - P-Q-R - S-T-U - V-W-X - Y-Z Envision Specifications Library Legacyconstantconstant(a : number) 🡒 zedfunc, pure functionReturns the constant function $f: x \mapsto a$.show scalar "" a1b2 with constant(1) The constant() function should not be confused with the const keyword. They are unrelated.User Contributed Notes0 notes + add a noteconst contains