examples f -- returns a list of strings containing examples of code using the function f provided in the documentation of f.
See also:
Code:
-- ../../../Macaulay2/m2/document.m2:427 examples = x -> getExampleInputs documentation x