lpeg.type

Tests if a value is a pattern

Prototype

lpeg.type (value)

Description

If the given value is a pattern, returns the string "pattern". Otherwise returns nil.

Lua functions

Topics