asbool

sknano.core.strings.asbool(s, l, t)[source] [edit on github][source]

pyparsing parse action to convert token to bool.