Ejemplo n.º 1
0
 /// <summary>
 /// Checks the value is of type <c>string</c> or <c>&amp;string</c> and gets its value.
 /// Single-byte strings are decoded using <c>UTF-8</c>.
 /// </summary>
 public static bool IsString(this PhpValue value, out string @string) => value.IsStringImpl(out @string);
Ejemplo n.º 2
0
 /// <summary>
 /// Checks the value is of type <c>string</c> (both unicode and single-byte) or an alias to a string.
 /// </summary>
 public static bool IsString(this PhpValue value) => value.IsStringImpl();