Yn
Less than 1 minute
Yn
Count the number of words in a string.
class YnMethods
run
public run(mixed $string, string $trueValue = 'Yes', string $faleValue = 'No'): stringReturns: string
Parameters
| Parameter | Type | Description |
|---|---|---|
$string | mixed | the input value, evaluated for truthiness |
$trueValue | string | |
$faleValue | string |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000