Hi all i currently have a method. and i would like to add an option to create a custom method once its been filled out when its called.
currently all my methods get call like
let test = foo(var)
I would like to have the option to add this on top of the current method
let test = foo(var).bar('i want this added to current method')
I have no idea how to do this or even what this would be called.
Thank you