.filterByExtension {onc.api}R Documentation

Filter file list results to only those where the filename ends with the extension If extension is empty no change will be made

Description

Filter file list results to only those where the filename ends with the extension If extension is empty no change will be made

Usage

.filterByExtension(self, results = list(), extension = "")

Arguments

self

Calling object

results

Results as otained by getListByLocation() or getListByDevice()

extension

(character) Extension to search for (i.e. "txt")

Value

Filtered list


[Package onc.api version 2.0.1.0 Index]