Back to FabImage Library website

You are here: Start » Function Reference » Path Basics » SkipEmptyPath

SkipEmptyPath


Header:FIL.h
Namespace:fil

If the input path has at least one point, then it is copied to the output; otherwise Nil is returned.

Syntax

C++
C#
 
void fil::SkipEmptyPath
(
	const fil::Path& inPath,
	ftl::Conditional<fil::Path>& outNotEmptyPath,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
inPath const Path& Input path
outNotEmptyPath Conditional<Path>& A copy of the input path, if it is not empty, or Nil otherwise
outIsNotEmpty bool& Indication if the input path is not empty