Pure Functions
A function that creates and returns a value based on it's input with no side effects
Pure Function Rules
Have input parameters
No stateful values
Returns value only based on input parameters
Last updated
Was this helpful?
A function that creates and returns a value based on it's input with no side effects
Pure Function Rules
Have input parameters
No stateful values
Returns value only based on input parameters
Last updated
Was this helpful?