time-to-botec/squiggle/node_modules/@stdlib/assert/is-unc-path/docs/repl.txt

25 lines
404 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is a UNC path.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether value is a UNC path.
Examples
--------
> var bool = {{alias}}( '\\\\server\\share\\foo\\bar\\baz' )
true
> bool = {{alias}}( '/foo/bar/baz' )
false
See Also
--------