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 Sun, 08 Nov 2026 03:36:14 +0000