text →
filename() → text

Returns the file name and extension of a file path provided as argument.

Parameters

This function has no parameters.

Examples

"docs/_data/function.json" | filename  "function.json"

Kind: Function
Scope: io
Aliases: path-to-filename


This site uses Just the Docs, a documentation theme for Jekyll.