time-to-botec/squiggle/node_modules/@stdlib/utils/dirname/docs/repl.txt

23 lines
297 B
Plaintext
Raw Normal View History

{{alias}}( path )
Returns a directory name.
Parameters
----------
path: string
Path.
Returns
-------
out: string
Directory name.
Examples
--------
> var dir = {{alias}}( './foo/bar/index.js' )
'./foo/bar'
See Also
--------