Path.isNull

Check if path is null

struct Path
const
bool
isNull
()

Return Value

Type: bool

true if this path is null (not set)

Examples

import dshould;

Path().isNull.should.be(true);
Path(".").isNull.should.be(false);
Path("some-path").isNull.should.be(false);

Path default_path;

default_path.isNull.should.be(true);

Meta