query
On this page

isValidPosixName

lib.strings.isValidPosixName

Docs pulled from | This Revision | 12 minutes ago


Test whether the given name is a valid POSIX shell variable name.

Inputs

name
1. Function argument

Type

string -> bool

Examples

lib.strings.isValidPosixName usage example

isValidPosixName "foo_bar000"
=> true
isValidPosixName "0-bad.jpg"
=> false

Noogle also knows

Aliases