2,732
edits
Red Leader (talk | contribs) (More doc) |
Red Leader (talk | contribs) m (Doc isNull()) |
||
Line 120: | Line 120: | ||
==== isAbsolute() ==== | ==== isAbsolute() ==== | ||
{{Nasal doc | {{Nasal doc | ||
|syntax = os.path. | |syntax = os.path.isAbsolute(); | ||
|text = Returns 1 (true) if the path is an absolute path and 0 (false) if it is not. | |text = Returns 1 (true) if the path is an absolute path and 0 (false) if it is not. | ||
|example1 = var path = os.path.new(getprop("sim/fg-root")); | |example1 = var path = os.path.new(getprop("sim/fg-root")); | ||
Line 126: | Line 126: | ||
}} | }} | ||
==== isNull() ==== | ==== isNull() ==== | ||
{{Nasal doc | |||
|syntax = os.path.isNull(); | |||
|text = Returns 1 (true) if the path is null and 0 (false) if it is not. | |||
|example1 = var path = os.path.new(); | |||
print(path.isNull()); | |||
}} | |||
==== create_dir() ==== | ==== create_dir() ==== | ||
==== remove() ==== | ==== remove() ==== |