Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.74 kb
__NAME__ purpose
return Yes for non-empty input, No otherwise
__END__
__NAME__ see also
__END__
__NAME__ description
Return <literal>Yes</literal> (or it's &glos-locale;-specific variant)
on non-empty input (whitespace is considered non-empty too).
Return <literal>No</literal>
(or it's &glos-locale;-specific variant) otherwise.
__END__
__NAME__ online: Filter example
<programlisting>
OK (yes)? [filter yesno]Good input[/filter]
OK (no)? [filter yesno][/filter]
</programlisting>
__END__
__NAME__ online: Reaching "yesno" decision after any whitespace is removed first
<programlisting>
OK (yes)? [filter yesno]Good input[/filter]
OK (yes)? [filter yesno][/filter]
OK (no)? [filter strip yesno][/filter]
</programlisting>
__END__
Jump to Line
Something went wrong with that request. Please try again.