luadocs/content/lua.scripts.api.manual/dtutils.string/is_not_sanitized.md
Bill Ferguson b69d752221 [lua scripts] created manual from script comments
[lua scripts api] created manual from embedded library documentation

[lua api] created stub to contain lua api manual
2020-12-12 15:14:19 -05:00

31 lines
558 B
Markdown

---
title: is_not_sanitized
id: is_not_sanitized
weight: 30
draft: false
author: "people"
---
## NAME
is_not_sanitized
## SYNOPSIS
Check if a string has been sanitized
## USAGE
```
local ds = require "lib/dtutils.string"
local result = ds.is_not_sanitized(str)
```
**str** - _string_ - the string that needs to be made safe
## DESCRIPTION
**is_not_sanitized** checks a string to see if it
has been made safe use passing as an argument in a system command.
## RETURN VALUE
**result** - _boolean_ - true if the string is not sanitized otherwise false