query
On this page

isValidPosixName

lib.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

isValidPosixName usage example

isValidPosixName "foo_bar000"
=> true
isValidPosixName "0-bad.jpg"
=> false
(lib.strings.isValidPosixName)

Noogle also knows

Aliases